fix(auth): fix panic due to null reference
Some checks failed
Build Docker Image / Build-Docker-Image (push) Successful in 39s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Has been cancelled

This commit was merged in pull request #271.
This commit is contained in:
2024-11-20 09:48:41 +01:00
parent 15a53ed8cd
commit 003ccbe035

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 {