Move the password confirmation form template to post
I know we use JS for this. But it triggers some false positives on testing. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
03a1932b15
commit
3ce43c7d71
|
@ -156,7 +156,7 @@
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div id="sudo-login-background" class="hidden"></div>
|
<div id="sudo-login-background" class="hidden"></div>
|
||||||
<form id="sudo-login-form" class="hidden">
|
<form id="sudo-login-form" class="hidden" method="POST">
|
||||||
<label>
|
<label>
|
||||||
<?php p($l->t('This action requires you to confirm your password')); ?><br/>
|
<?php p($l->t('This action requires you to confirm your password')); ?><br/>
|
||||||
<input type="password" class="question" autocomplete="new-password" name="question" value=" <?php /* Hack against browsers ignoring autocomplete="off" */ ?>"
|
<input type="password" class="question" autocomplete="new-password" name="question" value=" <?php /* Hack against browsers ignoring autocomplete="off" */ ?>"
|
||||||
|
|
Loading…
Reference in New Issue