diff options
author | Joas Schilling <coding@schilljs.com> | 2016-12-19 12:43:31 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-12-21 16:55:01 +0100 |
commit | f7ba86884a584d14b01efc23a288fddf77a0df61 (patch) | |
tree | fa50e1b7cb5fa3ccb89dbf9ca0bab94b0f53d9eb | |
parent | 62cbaa02278ac856edbcfdb7012a94fa1359fe30 (diff) | |
download | nextcloud-server-f7ba86884a584d14b01efc23a288fddf77a0df61.tar.gz nextcloud-server-f7ba86884a584d14b01efc23a288fddf77a0df61.zip |
Use a form so firefox doesn't try to save the space as a password
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | core/templates/layout.user.php | 6 |
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"> |