Commit ee626b41 authored by Matija Obreza's avatar Matija Obreza
Browse files

Removed autocomplete on password update, added autofocus for login

parent 11e10f7d
......@@ -15,7 +15,7 @@
<div class="form-group">
<label for="j_username" class="col-lg-2 control-label"><spring:message code="login.username"/></label>
<div class="col-lg-3">
<input type="text" id="j_username" name="j_username" class="form-control grabfocus" />
<input type="text" id="j_username" name="j_username" class="form-control grabfocus" autofocus="autofocus" />
</div>
</div>
......
......@@ -28,13 +28,13 @@
<div class="form-group">
<label for="password" class="col-lg-2 control-label"><spring:message code="registration.password" /></label>
<div class="col-lg-3">
<input type="password" id="password" name="pwd1" class="span3 form-control" />
<input type="password" id="password" name="pwd1" class="span3 form-control" autocomplete="off" />
</div>
</div>
<div class="form-group">
<label for="confirm_password" class="col-lg-2 control-label"><spring:message code="registration.confirm-password" /></label>
<div class="col-lg-3">
<input type="password" id="confirm_password" name="pwd2" class="span3 required form-control" equalTo="#pwd1" />
<input type="password" id="confirm_password" name="pwd2" class="span3 required form-control" autocomplete="off" equalTo="#pwd1" />
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment