Skip to content
Snippets Groups Projects
Commit a1ea3701 authored by Julian's avatar Julian
Browse files

Don't list base roles in selfservice (follow-up to !33)

parent d7f6a35e
Branches
Tags
No related merge requests found
......@@ -48,7 +48,7 @@
You currently have these roles:
{% endif %}
<ul>
{% for role in user.roles|sort(attribute="name") %}
{% for role in user.roles|sort(attribute="name") if role.name not in config["ROLES_BASEROLES"] %}
<li>{{ role.name }}</li>
{% endfor %}
</ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment