summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-12-19 12:43:31 +0100
committerJoas Schilling <coding@schilljs.com>2016-12-19 12:43:31 +0100
commiteed0eaeb8611f243882900e202a8e253308d7a60 (patch)
tree9dfc8aee5f06b1107788e244011cb52c336b9ffd /core/templates
parent4f79d2ff0d0f3b4e6bcbba0ab876e19d0a17588c (diff)
downloadnextcloud-server-eed0eaeb8611f243882900e202a8e253308d7a60.tar.gz
nextcloud-server-eed0eaeb8611f243882900e202a8e253308d7a60.zip
Use a form so firefox doesn't try to save the space as a password
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 2db333c1977..c53e016c1c2 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -147,12 +147,12 @@
</div></nav>
<div id="sudo-login-background" class="hidden"></div>
- <div id="sudo-login-form" class="hidden">
+ <form id="sudo-login-form" class="hidden">
<?php p($l->t('This action requires you to confirm your password:')); ?><br>
- <input type="password" class="question" autocomplete="off" name="question" value=" <?php /* Hack against firefox ignoring autocomplete="off" */ ?>"
+ <input type="password" class="question" autocomplete="new-password" name="question" value=" <?php /* Hack against browsers 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>
+ </form>
<div id="content-wrapper">
<div id="content" class="app-<?php p($_['appid']) ?>" role="main">