chore(authn.service): fix typo in log statement (#76205)

This commit is contained in:
Kevin Wang 2023-11-23 03:06:19 -05:00 committed by GitHub
parent 2e756395f7
commit 8bdfb7e1cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}