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) { ...@@ -89,7 +89,7 @@ if ($this->data['errorcode'] !== null) {
?> ?>
<tr> <tr>
<td><label for="password"><?php echo $this->t('{login:password}'); ?></label></td> <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 <?php
if ($this->data['rememberMeEnabled']) { if ($this->data['rememberMeEnabled']) {
// display the remember me checkbox (keep me logged in) // display the remember me checkbox (keep me logged in)
......
...@@ -53,8 +53,8 @@ ...@@ -53,8 +53,8 @@
<div class="pure-control-group"> <div class="pure-control-group">
<label for="password">{{ 'Password'|trans}}</label> <label for="password">{{ 'Password'|trans}}</label>
<input id="password" type="password" tabindex="2" name="password" class="edge" <input id="password" type="password" tabindex="2" name="password" class="edge" autocomplete="current-password"
{%- if forceUsername or username %} autofocus {% endif %} /> {%- if forceUsername or username %} autofocus {% endif %} >
{% if rememberMeEnabled -%} {% if rememberMeEnabled -%}
</div> </div>
......
...@@ -51,7 +51,7 @@ foreach ($this->data['ldapconfig'] as $key => $entry) { ...@@ -51,7 +51,7 @@ foreach ($this->data['ldapconfig'] as $key => $entry) {
<tr> <tr>
<td style="padding: .3em;"><?php echo $this->t('password'); ?></td> <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>
<tr><td></td><td> <tr><td></td><td>
<button type="submit" tabindex="5" id="mobilesubmit" class="btn"><?php echo $this->t('login_button'); ?></button> <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)) { ...@@ -43,7 +43,7 @@ if (array_key_exists('admin', $this->data)) {
</tr> </tr>
<tr> <tr>
<td style="padding: .3em;"><?php echo $this->t('password'); ?></td> <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>
<tr> <tr>
<td></td> <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