webui: make login form more mobile-friendly (#6707)

* make login form more mobile-friendly

Disable autocomplete, autocorrect, autocapitalize, and spellcheck on username and password input forms.

* Update logon.inc.php
This commit is contained in:
Nick Peelman
2017-05-24 00:58:38 -04:00
committed by Tony Murray
parent d48be5f507
commit 88e71a58c1

View File

@@ -16,7 +16,7 @@ if ($config['twofactor'] && isset($twofactorform)) {
<form class="form-horizontal" role="form" action="" method="post" name="logonform">
<div class="form-group">
<div class="col-md-12">
<input type="text" name="username" id="username" class="form-control" placeholder="Username" required autofocus />
<input type="text" name="username" id="username" class="form-control" placeholder="Username" required autofocus autocorrect="off" autocapitalize="off" spellcheck="false" />
</div>
</div>
<div class="form-group">