mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
add 10 personas for snare
This commit is contained in:
12
docker/tanner/snare/dist/pages/5/c2a48a6421800d33df1b779ccfc5a812
vendored
Normal file
12
docker/tanner/snare/dist/pages/5/c2a48a6421800d33df1b779ccfc5a812
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
/* global jstz */
|
||||
$(document).ready(function () {
|
||||
$('#timezone-offset').val((-new Date().getTimezoneOffset() / 60));
|
||||
$('#timezone').val(jstz.determine().name());
|
||||
|
||||
// only enable the submit button once we are sure that the timezone is set
|
||||
var $loginForm = $('form[name="login"]');
|
||||
if ($loginForm.length) {
|
||||
$loginForm.find('input#submit').prop('disabled', false);
|
||||
}
|
||||
}
|
||||
);
|
Reference in New Issue
Block a user