fix(auth): fix panic due to null reference #271

Merged
tim merged 1 commits from fix-auth-panic into prod 2024-11-20 08:50:58 +00:00

View File

@@ -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 {