fix: err id as title (shown on hover) (#1895)

This commit is contained in:
Fabi
2021-06-18 10:31:53 +02:00
committed by GitHub
parent ab88d311f3
commit 41560274c1
21 changed files with 64 additions and 64 deletions
@@ -16,11 +16,11 @@ type passwordFormData struct {
}
func (l *Login) renderPassword(w http.ResponseWriter, r *http.Request, authReq *domain.AuthRequest, err error) {
var errType, errMessage string
var errID, errMessage string
if err != nil {
errMessage = l.getErrorMessage(r, err)
errID, errMessage = l.getErrorMessage(r, err)
}
data := l.getUserData(r, authReq, "Password", errType, errMessage)
data := l.getUserData(r, authReq, "Password", errID, errMessage)
funcs := map[string]interface{}{
"showPasswordReset": func() bool {
if authReq.LoginPolicy != nil {