Skip to content

Commit

Permalink
prevent change password enable two step auth
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomlove committed Oct 26, 2023
1 parent 4f24ba3 commit a85c2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/usercp.php
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ function browsecheck($dbtable, $cbname, array &$result){
$twoStepY = '<div style="display: flex;align-items:center">';
$twoStepY .= sprintf('<div><img src="%s" /></div>', $twoStepQrCodeUrl);
$twoStepY .= sprintf(
'<div style="padding-left: 20px">%s<a href="%s" target="_blank">Link</a><br /><br />%s%s<br/><br/>%s<input type=hidden name=two_step_secret value="%s" /><input type=text name=two_step_code /></div>',
'<div style="padding-left: 20px">%s<a href="%s" target="_blank">Link</a><br /><br />%s%s<br/><br/>%s<input type=hidden name=two_step_secret value="%s" /><input type=text name=two_step_code readonly onfocus="this.removeAttribute(\'readonly\')"/></div>',
$lang_usercp['text_two_step_secret_bind_by_qrdoe_note'],
$twoStepQrCodeUrl,
$lang_usercp['text_two_step_secret_bind_manually_note'],
Expand Down

0 comments on commit a85c2d3

Please sign in to comment.