This commit is contained in:
marcos 2020-11-26 16:25:21 +01:00
parent c824972c8c
commit af863a45de
1 changed files with 13 additions and 12 deletions

View File

@ -240,6 +240,7 @@ if (is_ajax()) {
);
$table->data['2FA_all_users'] = $row;
// Session timeout.
// Default session timeout.
set_when_empty($config['session_timeout'], 90);
@ -342,12 +343,12 @@ function showAndHide() {
}
}
$( document ).ready(function() {
if ($('#checkbox-double_auth_enabled').prop('checked') == true) {
var enbale = "<?php echo $config['double_auth_enabled']; ?>";
if (enbale == '1') {
$('#table1-2FA_all_users').show();
} else {
$('#table1-2FA_all_users').hide();
}
});
//For change autocreate remote users