From 2375567691ed6b8c62222bb1f7f1308bd30025a5 Mon Sep 17 00:00:00 2001 From: Dolph Mathews Date: Tue, 25 Mar 2014 12:55:08 -0500 Subject: [PATCH] Improve language in update_password() validation error Change-Id: I728af11c6d652c2937e6da80b96a5c3f337bae76 Related-Bug: 1239757 --- keystoneclient/v3/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keystoneclient/v3/users.py b/keystoneclient/v3/users.py index e4459447b..9cb7af710 100644 --- a/keystoneclient/v3/users.py +++ b/keystoneclient/v3/users.py @@ -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,