Merge "Improve language in update_password() validation error"
This commit is contained in:
@@ -143,7 +143,7 @@ class UserManager(base.CrudManager):
|
||||
raise exceptions.ValidationError(msg)
|
||||
|
||||
if old_password == new_password:
|
||||
msg = 'Old password and new password appear to be identical.'
|
||||
msg = 'Old password and new password must be different.'
|
||||
raise exceptions.ValidationError(msg)
|
||||
|
||||
params = {'user': {'password': new_password,
|
||||
|
Reference in New Issue
Block a user