Commit 8578c173 authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

Fix user details command

parent 623b0396
......@@ -74,7 +74,7 @@ class Command(BaseCommand):
'providers': user.auth_providers_display,
'verified': format_bool(user.is_verified),
'has_credits': format_bool(user.has_credits),
'groups': [elem.name for elem in user.astakos_groups.all()],
'groups': [elem.name for elem in user.groups.all()],
'permissions': [elem.codename for elem in user.user_permissions.all()],
'group_permissions': user.get_group_permissions(),
'email_verified': format_bool(user.email_verified),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment