chore(authn.service): fix typo in log statement (#76205)
This commit is contained in:
1 parent
2e756395f7
commit
8bdfb7e1cf
1 file changed
+1
-1
@@ -92,7 +92,7 @@ func (c *Grafana) AuthenticatePassword(ctx context.Context, r *authn.Request, us
|
||||
usr, err := c.userService.GetByLogin(ctx, &user.GetUserByLoginQuery{LoginOrEmail: username})
|
||||
if err != nil {
|
||||
if errors.Is(err, user.ErrUserNotFound) {
|
||||
return nil, errIdentityNotFound.Errorf("no user fund: %w", err)
|
||||
return nil, errIdentityNotFound.Errorf("no user found: %w", err)
|
||||
}
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user