Improve language in update_password() validation error

Change-Id: I728af11c6d652c2937e6da80b96a5c3f337bae76
Related-Bug: 1239757
This commit is contained in:
Dolph Mathews
2014-03-25 12:55:08 -05:00
parent f121c2285f
commit 2375567691

View File

@@ -140,7 +140,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,