summaryrefslogtreecommitdiffstats
path: root/settings/templates/personal.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-06-20 15:14:00 +0200
committerGitHub <noreply@github.com>2016-06-20 15:14:00 +0200
commit232ab8f6dd20a0266936f137593fa3b35348dbd6 (patch)
treedbee0d73955b0e43431bbd6a94a223138cb72f45 /settings/templates/personal.php
parent987704b27b96c9544b1daa40e954646f33a79f64 (diff)
parentb729703b6cba710f61debd8d8b2316a4b0952017 (diff)
downloadnextcloud-server-232ab8f6dd20a0266936f137593fa3b35348dbd6.tar.gz
nextcloud-server-232ab8f6dd20a0266936f137593fa3b35348dbd6.zip
Merge pull request #122 from nextcloud/readd-labels-for-usability
Re-add labels for password inputs for usability
Diffstat (limited to 'settings/templates/personal.php')
-rw-r--r--settings/templates/personal.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 45f61310b30..feafb00683e 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -121,9 +121,11 @@ if($_['passwordChangeSupported']) {
<div class="hidden icon-checkmark" id="password-changed"></div>
<div class="hidden" id="password-error"><?php p($l->t('Unable to change your password'));?></div>
<br>
+ <label for="pass1" class="hidden-visually"><?php echo $l->t('Current password');?>: </label>
<input type="password" id="pass1" name="oldpassword"
placeholder="<?php echo $l->t('Current password');?>"
autocomplete="off" autocapitalize="off" autocorrect="off" />
+ <label for="pass2" class="hidden-visually"><?php echo $l->t('New password');?>: </label>
<input type="password" id="pass2" name="personal-password"
placeholder="<?php echo $l->t('New password');?>"
data-typetoggle="#personal-show"