Browse Source

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>
tags/v19.0.0RC2
Roeland Jago Douma 4 years ago
parent
commit
1d35a1474b
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      core/templates/layout.user.php

+ 1
- 1
core/templates/layout.user.php 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" */ ?>"

Loading…
Cancel
Save