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:
Roeland Jago Douma 2020-05-11 21:18:38 +02:00 committed by backportbot[bot]
parent 03a1932b15
commit 3ce43c7d71
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@
</header>
<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>
<?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" */ ?>"