myaac/system/templates/admin.login.html.twig
slawkens 4e935719d3 Change account_login input type from password to text
This allows for browsers to save username & password
2020-03-14 13:51:47 +01:00

38 lines
1.3 KiB
Twig
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="login-box">
{% if logout %}
<div class="alert alert-success alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<h4><i class="icon fa fa-check"></i> Status</h4>
{{ logout }}
</div>
{% endif %}
<form method="post">
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Please login.</h3>
</div>
<div class="box-body">
<div class="form-group">
<div class="form-group input-group">
<span class="input-group-addon"><i class="fa fa-lock"></i></span>
<input type="text" class="form-control" id="account-name-input" name="account_login"
placeholder="Account {{ account }}" required autofocus>
</div>
<div class="form-group input-group">
<span class="input-group-addon"><i class="fa fa-key"></i></span>
<input type="password" class="form-control" placeholder="Password" name="password_login"
placeholder="Password" required>
</div>
</div>
</div>
<div class="box-footer">
<label>
<input type="checkbox" id="remember_me" name="remember_me" value="true"> Remember me
</label>
<input type="hidden" name="admin" value="1"/>
<button type="submit" class="btn btn-info pull-right">Sign in</button>
</div>
</div>
</form>
</div>