Merge pull request #20933 from nextcloud/enh/default_password_conf_form_to_post

Move the password confirmation form template to post
This commit is contained in:
Morris Jobke 2020-05-12 14:26:09 +02:00 committed by GitHub
commit 703d716a32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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" */ ?>"