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:
@@ -14,8 +14,10 @@ $(document).ready(function() {
|
||||
|
||||
// Retrieve a session key
|
||||
$('#request_session_key').click(function() {
|
||||
var private_key = $('#user_privkey').val();
|
||||
var private_key_field = $('#user_privkey');
|
||||
var private_key = private_key_field.val();
|
||||
get_session_key(private_key);
|
||||
private_key_field.val("");
|
||||
});
|
||||
|
||||
// Retrieve a secret via the API
|
||||
|
Reference in New Issue
Block a user