Merge "Improve language in update_password() validation error"

This commit is contained in:
Jenkins
2014-03-25 22:04:49 +00:00
committed by Gerrit Code Review

View File

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