Reformat and add debug output

This commit is contained in:
2023-08-18 11:59:16 +02:00
parent 734e818b19
commit 3028f60807
2 changed files with 14 additions and 10 deletions

View File

@@ -168,6 +168,8 @@ func (auth *Authentication) Login(
var user *schema.User
if user, ok = authenticator.CanLogin(dbUser, username, rw, r); !ok {
continue
} else {
log.Debugf("Can login with user %v", user)
}
user, err := authenticator.Login(user, rw, r)