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

@@ -66,7 +66,7 @@ func (ja *JWTSessionAuthenticator) Login(
if t.Method == jwt.SigningMethodHS256 || t.Method == jwt.SigningMethodHS512 {
return ja.loginTokenKey, nil
}
return nil, fmt.Errorf("AUTH/JWT > unkown signing method for login token: %s (known: HS256, HS512, EdDSA)", t.Method.Alg())
return nil, fmt.Errorf("unkown signing method for login token: %s (known: HS256, HS512, EdDSA)", t.Method.Alg())
})
if err != nil {
log.Warn("Error while parsing jwt token")