Skip to content
Snippets Groups Projects
Commit e792f956 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Make explicit what the role of this password field is.

parent 661f1de8
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@ if ($this->data['errorcode'] !== null) {
?>
<tr>
<td><label for="password"><?php echo $this->t('{login:password}'); ?></label></td>
<td><input id="password" type="password" tabindex="2" name="password" /></td>
<td><input id="password" type="password" tabindex="2" name="password" autocomplete="current-password" /></td>
<?php
if ($this->data['rememberMeEnabled']) {
// display the remember me checkbox (keep me logged in)
......
......@@ -53,8 +53,8 @@
<div class="pure-control-group">
<label for="password">{{ 'Password'|trans}}</label>
<input id="password" type="password" tabindex="2" name="password" class="edge"
{%- if forceUsername or username %} autofocus {% endif %} />
<input id="password" type="password" tabindex="2" name="password" class="edge" autocomplete="current-password"
{%- if forceUsername or username %} autofocus {% endif %} >
{% if rememberMeEnabled -%}
</div>
......
......@@ -51,7 +51,7 @@ foreach ($this->data['ldapconfig'] as $key => $entry) {
<tr>
<td style="padding: .3em;"><?php echo $this->t('password'); ?></td>
<td><input type="password" tabindex="2" name="password" /></td>
<td><input type="password" tabindex="2" name="password" autocomplete="current-password" /></td>
</tr>
<tr><td></td><td>
<button type="submit" tabindex="5" id="mobilesubmit" class="btn"><?php echo $this->t('login_button'); ?></button>
......
......@@ -43,7 +43,7 @@ if (array_key_exists('admin', $this->data)) {
</tr>
<tr>
<td style="padding: .3em;"><?php echo $this->t('password'); ?></td>
<td><input id="password" type="password" tabindex="2" name="password" /></td>
<td><input id="password" type="password" tabindex="2" name="password" autocomplete="current-password" /></td>
</tr>
<tr>
<td></td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment