mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Allow user to delete session key
This commit is contained in:
5
netbox/templates/users/sessionkey_delete.html
Normal file
5
netbox/templates/users/sessionkey_delete.html
Normal file
@@ -0,0 +1,5 @@
|
||||
{% extends 'utilities/obj_delete.html' %}
|
||||
|
||||
{% block message %}
|
||||
<p>Are you sure you want to delete your session key?</p>
|
||||
{% endblock %}
|
@@ -23,7 +23,7 @@
|
||||
<hr />
|
||||
{% if userkey.session_key %}
|
||||
<div class="pull-right">
|
||||
<a href="#" class="btn btn-danger">
|
||||
<a href="{% url 'user:sessionkey_delete' %}" class="btn btn-danger">
|
||||
<span class="fa fa-trash" aria-hidden="true"></span>
|
||||
Delete session key
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user