Cleanup some error strings

This commit is contained in:
Christoph Kluge
2023-08-18 11:17:31 +02:00
parent 14c487c9e4
commit 57bda63506
4 changed files with 7 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ func (la *LocalAuthenticator) Login(
if e := bcrypt.CompareHashAndPassword([]byte(user.Password),
[]byte(r.FormValue("password"))); e != nil {
log.Errorf("AUTH/LOCAL > Authentication for user %s failed!", user.Username)
return nil, fmt.Errorf("AUTH/LOCAL > Authentication failed")
return nil, fmt.Errorf("Authentication failed")
}
return user, nil