Merge branch 'master' of github.com:coreos-inc/quay
This commit is contained in:
commit
7b1d35737e
1 changed files with 1 additions and 0 deletions
|
@ -905,6 +905,7 @@ def change_password(user, new_password):
|
|||
pw_hash = hash_password(new_password)
|
||||
user.invalid_login_attempts = 0
|
||||
user.password_hash = pw_hash
|
||||
user.uuid = str(uuid4())
|
||||
user.save()
|
||||
|
||||
# Remove any password required notifications for the user.
|
||||
|
|
Reference in a new issue