Merge "Remove token object from credentials"
This commit is contained in:
commit
4c203b10c8
@ -207,7 +207,6 @@ def _user_to_credentials(user):
|
|||||||
if not hasattr(user, "_credentials"):
|
if not hasattr(user, "_credentials"):
|
||||||
roles = [role['name'] for role in user.roles]
|
roles = [role['name'] for role in user.roles]
|
||||||
user._credentials = {'user_id': user.id,
|
user._credentials = {'user_id': user.id,
|
||||||
'token': user.token,
|
|
||||||
'username': user.username,
|
'username': user.username,
|
||||||
'project_id': user.project_id,
|
'project_id': user.project_id,
|
||||||
'tenant_id': user.project_id,
|
'tenant_id': user.project_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user