From 437d5750b921155d422e352f004fb6851f108b82 Mon Sep 17 00:00:00 2001 From: Binary Alley Date: Thu, 14 Nov 2024 09:28:52 +0200 Subject: [PATCH] Removes the Login button on the Register view when the user is already authenticated --- src/Lumina.Presentation.Web/Views/Auth/Register.cshtml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Lumina.Presentation.Web/Views/Auth/Register.cshtml b/src/Lumina.Presentation.Web/Views/Auth/Register.cshtml index 946594d2..71cebdee 100644 --- a/src/Lumina.Presentation.Web/Views/Auth/Register.cshtml +++ b/src/Lumina.Presentation.Web/Views/Auth/Register.cshtml @@ -84,7 +84,10 @@ - + @if (User?.Identity?.IsAuthenticated == false) + { + + } @section Scripts {