fix(auth): fix panic due to null reference
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user