Use a form so firefox doesn't try to save the space as a password
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
62cbaa0227
commit
f7ba86884a
|
@ -147,12 +147,12 @@
|
||||||
</div></nav>
|
</div></nav>
|
||||||
|
|
||||||
<div id="sudo-login-background" class="hidden"></div>
|
<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>
|
<?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')); ?>" />
|
placeholder="<?php p($l->t('Confirm your password')); ?>" />
|
||||||
<input class="confirm icon-confirm" title="<?php p($l->t('Confirm')); ?>" value="" type="submit">
|
<input class="confirm icon-confirm" title="<?php p($l->t('Confirm')); ?>" value="" type="submit">
|
||||||
</div>
|
</form>
|
||||||
|
|
||||||
<div id="content-wrapper">
|
<div id="content-wrapper">
|
||||||
<div id="content" class="app-<?php p($_['appid']) ?>" role="main">
|
<div id="content" class="app-<?php p($_['appid']) ?>" role="main">
|
||||||
|
|
Loading…
Reference in New Issue