From 003ccbe0352d2e3030e81271fbbfeabe1fce719e Mon Sep 17 00:00:00 2001 From: Tim Wundenberg Date: Wed, 20 Nov 2024 09:48:41 +0100 Subject: [PATCH] fix(auth): fix panic due to null reference --- handler/auth.go | 1 + 1 file changed, 1 insertion(+) diff --git a/handler/auth.go b/handler/auth.go index 344efa8..1305ba4 100644 --- a/handler/auth.go +++ b/handler/auth.go @@ -66,6 +66,7 @@ func (handler HandlerAuthImpl) handleSignInPage() http.HandlerFunc { utils.LogError("Failed to render sign in page", err) http.Error(w, "Internal Server Error", http.StatusInternalServerError) } + return } if !user.EmailVerified {