generated from VLADIMIR/template
fix
This commit is contained in:
@@ -264,7 +264,7 @@ func (s *UsersService) Login(
|
||||
)
|
||||
if err != nil {
|
||||
if errors.Is(err, users_repo.ErrUserNotFound) {
|
||||
return "", "", err
|
||||
return "", "", fmt.Errorf("%w: %w", ErrInvalidCredentials, err)
|
||||
}
|
||||
return "", "", err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user