Merge "Remove token object from credentials"

This commit is contained in:
Zuul 2019-06-06 09:24:59 +00:00 committed by Gerrit Code Review
commit 4c203b10c8

View File

@ -207,7 +207,6 @@ def _user_to_credentials(user):
if not hasattr(user, "_credentials"):
roles = [role['name'] for role in user.roles]
user._credentials = {'user_id': user.id,
'token': user.token,
'username': user.username,
'project_id': user.project_id,
'tenant_id': user.project_id,