mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-22 08:35:43 +00:00
fix log to be warn
This commit is contained in:
parent
f4c63613d5
commit
ef06e4fbb2
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ func (svc *UserService) ChangePassword(ctx Context, current string, new string)
|
||||||
func (svc *UserService) RequestPasswordReset(ctx context.Context, req PasswordResetRequest) error {
|
func (svc *UserService) RequestPasswordReset(ctx context.Context, req PasswordResetRequest) error {
|
||||||
usr, err := svc.repos.Users.GetOneEmail(ctx, req.Email)
|
usr, err := svc.repos.Users.GetOneEmail(ctx, req.Email)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Err(err).Msg("Failed to get user for email reset")
|
log.Warn().Err(err).Msg("failed to get user for email reset")
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue