fix(auth): fix panic due to null reference
This commit was merged in pull request #271.
This commit is contained in:
@@ -66,6 +66,7 @@ func (handler HandlerAuthImpl) handleSignInPage() http.HandlerFunc {
|
|||||||
utils.LogError("Failed to render sign in page", err)
|
utils.LogError("Failed to render sign in page", err)
|
||||||
http.Error(w, "Internal Server Error", http.StatusInternalServerError)
|
http.Error(w, "Internal Server Error", http.StatusInternalServerError)
|
||||||
}
|
}
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if !user.EmailVerified {
|
if !user.EmailVerified {
|
||||||
|
|||||||
Reference in New Issue
Block a user