Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-05-11 22:18:38 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-05-27 20:58:10 +0300
commitb6ab18b311f5e733eae41b94fa9817e9cbfa6f53 (patch)
tree8d62105edde0d793b369e62cba7e7e23c1a4ba14 /core
parentc7c7433f11f16d6b9160dc38c646a6b7f9df0fdf (diff)
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>
Diffstat (limited to 'core')
-rw-r--r--core/templates/layout.user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 7712992c9bf..025c331aeaa 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -152,7 +152,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" */ ?>"