mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-28 20:55:42 +00:00
feat: coderabbit suggestions
This commit is contained in:
@@ -71,7 +71,7 @@ func (auth *AuthService) SearchUser(username string) config.UserSearch {
|
||||
if err != nil {
|
||||
log.Warn().Err(err).Str("username", username).Msg("Failed to search for user in LDAP")
|
||||
return config.UserSearch{
|
||||
Type: "unknown",
|
||||
Type: "error",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user