mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Add a link on the user template to refresh access
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
<b>Username:</b> {{ user.username }}<br/>
|
<b>Username:</b> {{ user.username }}<br/>
|
||||||
<b>Email:</b> {{ user.email }}<br/>
|
<b>Email:</b> {{ user.email }}<br/>
|
||||||
<b>Groups:</b> {{ user.groups.all|join:", " }}<br/>
|
<b>Groups:</b> {{ user.groups.all|join:", " }}<br/>
|
||||||
|
<a href="{% url sso.views.refresh_access user.id %}">Update Access</a><br/>
|
||||||
|
|
||||||
{% if is_admin %}
|
{% if is_admin %}
|
||||||
<br/>
|
<br/>
|
||||||
|
|||||||
Reference in New Issue
Block a user