Fix resetting user password in keystoneng
Change-Id: I187b4bff6ea896f3cd7610372c5e1ed9d8dbad8d
Related-Prod: PROD-26149
diff --git a/_modules/keystoneng.py b/_modules/keystoneng.py
index 66e0ac7..76b6870 100644
--- a/_modules/keystoneng.py
+++ b/_modules/keystoneng.py
@@ -1181,9 +1181,9 @@
'auth_url': auth_url}
try:
if _client_version(kstone) > 2:
- client3.Client(**kwargs)
+ client3.Client(**kwargs).authenticate()
else:
- client.Client(**kwargs)
+ client.Client(**kwargs).authenticate()
except (keystoneclient.exceptions.Unauthorized,
keystoneclient.exceptions.AuthorizationFailure):
return False