summaryrefslogtreecommitdiff
path: root/keystoneclient/v2_0/users.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystoneclient/v2_0/users.py')
-rw-r--r--keystoneclient/v2_0/users.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/keystoneclient/v2_0/users.py b/keystoneclient/v2_0/users.py
index 75a1f9b..df488f5 100644
--- a/keystoneclient/v2_0/users.py
+++ b/keystoneclient/v2_0/users.py
@@ -68,7 +68,7 @@ class UserManager(base.ManagerWithFind):
"password": password}}
return self._update("/users/%s/OS-KSADM/password" % base.getid(user),
- params, "user")
+ params, "user", log=False)
def update_own_password(self, origpasswd, passwd):
"""Update password."""
@@ -78,7 +78,8 @@ class UserManager(base.ManagerWithFind):
return self._update("/OS-KSCRUD/users/%s" % self.api.user_id, params,
response_key="access",
method="PATCH",
- management=False)
+ management=False,
+ log=False)
def update_tenant(self, user, tenant):
"""Update default tenant."""
@@ -98,7 +99,7 @@ class UserManager(base.ManagerWithFind):
"tenantId": tenant_id,
"email": email,
"enabled": enabled}}
- return self._create('/users', params, "user")
+ return self._create('/users', params, "user", log=not bool(password))
def delete(self, user):
"""Delete a user."""