mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Include instructions when displaying an inactive user key
This commit is contained in:
parent
cd5a86bfcf
commit
25ee796d5b
@ -19,6 +19,12 @@
|
||||
{% endif %}
|
||||
</h4>
|
||||
{% include 'inc/created_updated.html' with obj=userkey %}
|
||||
{% if not userkey.is_active %}
|
||||
<div class="alert alert-warning" role="alert">
|
||||
<i class="fa fa-warning"></i>
|
||||
Your user key is inactive. Ask an administrator to enable it for you.
|
||||
</div>
|
||||
{% endif %}
|
||||
<pre>{{ userkey.public_key }}</pre>
|
||||
<hr />
|
||||
{% if userkey.session_key %}
|
||||
|
Loading…
Reference in New Issue
Block a user