type="username" is not valid html and breaks firefox autofill; changed to "text"

This commit is contained in:
Brian Cassidy
2019-11-12 15:30:20 -04:00
parent ed10104f98
commit 80a512b9be
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@
<div id="login_form">
<div class="input-group">
<span class="input-group-addon input-sm"><span class="glyphicon glyphicon-user"></span></span>
<input class="form-control" placeholder="<?php echo $this->lang->line('login_username')?>" name="username" type="username" size=20 autofocus></input>
<input class="form-control" placeholder="<?php echo $this->lang->line('login_username')?>" name="username" type="text" size=20 autofocus></input>
</div>
<div class="input-group">

View File

@@ -36,7 +36,7 @@ form
padding:6% 4%;
}
input[type="username"], input[type="password"]
input[name="text"], input[type="password"]
{
width:100%;
margin-bottom:4%;