logging: improve slightly password reset logs.
This commit is contained in:
parent
fe5871e9df
commit
2b30c7c2b7
1 changed files with 1 additions and 1 deletions
|
|
@ -555,7 +555,7 @@ class UserModel(BaseModel):
|
|||
|
||||
Session().add(user)
|
||||
Session().commit()
|
||||
log.info('change password for %s', user_email)
|
||||
log.info('successfully reset password for `%s`', user_email)
|
||||
if new_passwd is None:
|
||||
raise Exception('unable to generate new password')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue