File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,5 +35,5 @@ $wb['lost_password_function_denied_txt'] = 'This activation link is not valid.';
3535$wb['otp_code_txt'] = '2-Factor Authentication';
3636$wb['otp_code_desc_txt'] = 'Enter the code you got from your authenticator app or via email.';
3737$wb['otp_code_placeholder_txt'] = 'OTP code';
38- $wb['otp_code_reset_txt '] = 'Request new code';
38+ $wb['otp_code_resend_txt '] = 'Request new code';
3939?>
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ function finish_2fa_success($msg = '') {
135135 }
136136
137137 //* Send code via email
138- if (!isset ($ _SESSION ['otp ' ]['sent ' ]) || $ _GET ['action ' ] == 'resent ' ) {
138+ if (!isset ($ _SESSION ['otp ' ]['sent ' ]) || $ _GET ['action ' ] == 'resend ' ) {
139139
140140 //* Ensure that code is not sent too often
141141 if (isset ($ _SESSION ['otp ' ]['sent ' ]) && $ _SESSION ['otp ' ]['sent ' ] > $ max_code_resend ) {
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ <h2><tmpl_var name="otp_code_txt"></h2>
1414 < div class ="right ">
1515 < input class ="btn btn-default formbutton-default " type ="submit " value ="{tmpl_var name='login_button_txt'} ">
1616 </ div >
17- < a href ="otp.php?action=resent "> {tmpl_var name='otp_code_reset_txt '}</ a >
17+ < a href ="otp.php?action=resend "> {tmpl_var name='otp_code_resend_txt '}</ a >
1818
1919
2020 < input type ="hidden " name ="_csrf_id " value ="{tmpl_var name='_csrf_id'} " />
You can’t perform that action at this time.
0 commit comments