Skip to content

Commit 703d716

Browse files
authored
Merge pull request #20933 from nextcloud/enh/default_password_conf_form_to_post
Move the password confirmation form template to post
2 parents dee1d87 + 1d35a14 commit 703d716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/templates/layout.user.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
</header>
157157

158158
<div id="sudo-login-background" class="hidden"></div>
159-
<form id="sudo-login-form" class="hidden">
159+
<form id="sudo-login-form" class="hidden" method="POST">
160160
<label>
161161
<?php p($l->t('This action requires you to confirm your password')); ?><br/>
162162
<input type="password" class="question" autocomplete="new-password" name="question" value=" <?php /* Hack against browsers ignoring autocomplete="off" */ ?>"

0 commit comments

Comments
 (0)