summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.user.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-11-10 17:06:48 +0100
committerLukas Reschke <lukas@statuscode.ch>2016-11-18 12:10:51 +0100
commit05df523395e2c9a06378f23dfd6e5439df14dffe (patch)
tree415c8b9e70ed7cd4c9434626e2dcd2ca3fca1afb /core/templates/layout.user.php
parent309b21f5a09385f4813a0115076e4fccb0b7034d (diff)
downloadnextcloud-server-05df523395e2c9a06378f23dfd6e5439df14dffe.tar.gz
nextcloud-server-05df523395e2c9a06378f23dfd6e5439df14dffe.zip
Empty the password field on submission of the form
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/templates/layout.user.php')
-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 1b4f0bc0030..8689bf859af 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -148,7 +148,7 @@
<div id="sudo-login-background" class="hidden"></div>
<div id="sudo-login-form" class="hidden">
- <input type="password" class="question" autocomplete="off" name="question" value=" "
+ <input type="password" class="question" autocomplete="off" name="question" value=" <?php /* Hack against firefox ignoring autocomplete="off" */ ?>"
placeholder="<?php p($l->t('Confirm your password')); ?>" />
<input class="confirm icon-confirm" title="<?php p($l->t('Confirm')); ?>" value="" type="submit">
</div>