mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(templates): a user can set Inactive on themselves
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
f357615bfb
commit
3b878da59a
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if request.user.is_elevated() %}
|
{% if request.user.has_credential(creds.ACCOUNT_EDIT, approved=[user]) %}
|
||||||
<p>
|
<p>
|
||||||
<label for="id_inactive">{% trans %}Inactive{% endtrans %}:</label>
|
<label for="id_inactive">{% trans %}Inactive{% endtrans %}:</label>
|
||||||
<input id="id_inactive" type="checkbox" name="J"
|
<input id="id_inactive" type="checkbox" name="J"
|
||||||
|
|
Loading…
Add table
Reference in a new issue