|
@@ -772,7 +772,7 @@ discard block |
|
|
block discarded – undo |
|
772
|
772
|
// AGSES |
|
773
|
773
|
if (isset($SETTINGS['agses_authentication_enabled']) === true && $SETTINGS['agses_authentication_enabled'] === '1') { |
|
774
|
774
|
echo ' |
|
775
|
|
- <div id="div-2fa-agses" class="div-2fa-method ', isset($_SESSION['2famethod-agses']) === true && $_SESSION['2famethod-agses'] === '1' ? '':'hidden', '"> |
|
|
775
|
+ <div id="div-2fa-agses" class="div-2fa-method ', isset($_SESSION['2famethod-agses']) === true && $_SESSION['2famethod-agses'] === '1' ? '' : 'hidden', '"> |
|
776
|
776
|
<div id="agses_cardid_div" style="text-align:center; padding:5px; width:454px; margin:5px 0 5px;" class="ui-state-active ui-corner-all"> |
|
777
|
777
|
' . $LANG['user_profile_agses_card_id'].': |
|
778
|
778
|
<input type="text" size="12" id="agses_cardid"> |
|
@@ -787,7 +787,7 @@ discard block |
|
|
block discarded – undo |
|
787
|
787
|
// Google Authenticator code |
|
788
|
788
|
if (isset($SETTINGS['google_authentication']) === true && $SETTINGS['google_authentication'] === "1") { |
|
789
|
789
|
echo ' |
|
790
|
|
- <div id="div-2fa-google" class="div-2fa-method ', isset($_SESSION['2famethod-google']) === true && $_SESSION['2famethod-google'] === '1' ? '':'hidden', '"> |
|
|
790
|
+ <div id="div-2fa-google" class="div-2fa-method ', isset($_SESSION['2famethod-google']) === true && $_SESSION['2famethod-google'] === '1' ? '' : 'hidden', '"> |
|
791
|
791
|
<div id="ga_code_div" style="margin-top:5px; padding:5px; overflow: auto; width:95%;" class="ui-state-default ui-corner-all"> |
|
792
|
792
|
<div style="width: 18%; float:left; display:block;"> |
|
793
|
793
|
<img src="includes/images/2fa_google_auth.png"> |
|
@@ -842,7 +842,7 @@ discard block |
|
|
block discarded – undo |
|
842
|
842
|
// Yubico authentication |
|
843
|
843
|
if (isset($SETTINGS['yubico_authentication']) === true && $SETTINGS['yubico_authentication'] === "1") { |
|
844
|
844
|
echo ' |
|
845
|
|
- <div id="div-2fa-yubico" class="div-2fa-method ', isset($_SESSION['2famethod-yubico']) === true && $_SESSION['2famethod-yubico'] === '1' ? '':'hidden', '"> |
|
|
845
|
+ <div id="div-2fa-yubico" class="div-2fa-method ', isset($_SESSION['2famethod-yubico']) === true && $_SESSION['2famethod-yubico'] === '1' ? '' : 'hidden', '"> |
|
846
|
846
|
<div id="yubico_div" style="margin-top:5px; padding:5px; overflow: auto; width:95%;" class="ui-state-default ui-corner-all"> |
|
847
|
847
|
<div style="width: 18%; float:left; display:block;"> |
|
848
|
848
|
<img src="includes/images/yubico.png"> |
|
@@ -1062,13 +1062,13 @@ discard block |
|
|
block discarded – undo |
|
1062
|
1062
|
|
|
1063
|
1063
|
$('.submit-button').keypress(function(event){ |
|
1064
|
1064
|
if (event.keyCode === 10 || event.keyCode === 13) { |
|
1065
|
|
- launchIdentify('', '<?php echo $nextUrl;?>', ''); |
|
|
1065
|
+ launchIdentify('', '<?php echo $nextUrl; ?>', ''); |
|
1066
|
1066
|
event.preventDefault(); |
|
1067
|
1067
|
} |
|
1068
|
1068
|
}); |
|
1069
|
1069
|
|
|
1070
|
1070
|
$('#yubiko_key').change(function(event) { |
|
1071
|
|
- launchIdentify('', '<?php echo $nextUrl;?>', ''); |
|
|
1071
|
+ launchIdentify('', '<?php echo $nextUrl; ?>', ''); |
|
1072
|
1072
|
event.preventDefault(); |
|
1073
|
1073
|
}); |
|
1074
|
1074
|
</script> |