diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-10-15 23:49:49 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-10-15 23:49:49 +0200 |
commit | f475ed5cc1733ae768f0f7518a70e88977d33f75 (patch) | |
tree | 1f7d42bc70d587b7412fbe0ded779212e5e125a4 /settings/templates | |
parent | c9ac1364d179bde343f0fd943d30b6fdc3330a0d (diff) | |
download | nextcloud-server-f475ed5cc1733ae768f0f7518a70e88977d33f75.tar.gz nextcloud-server-f475ed5cc1733ae768f0f7518a70e88977d33f75.zip |
Revert "Remove old password check from changepassword and use verifyUser instead"
This reverts commit e6b8153865a521a4750ec44016c5f22f453edfe1.
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/personal.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 0683bd3b64f..55ff24b4223 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -18,8 +18,9 @@ <fieldset class="personalblock"> <div id="passwordchanged"><?php echo $l->t('Your password was changed');?></div> <div id="passworderror"><?php echo $l->t('Unable to change your password');?></div> - <input type="password" id="pass1" name="password" placeholder="<?php echo $l->t('New password');?>" data-typetoggle="#show" /> - <input type="password" id="pass2" name="password" placeholder="<?php echo $l->t('Verify password');?>" data-typetoggle="#show" /> + <input type="password" id="pass1" name="oldpassword" placeholder="<?php echo $l->t('Current password');?>" /> + <input type="password" id="pass2" name="password" placeholder="<?php echo $l->t('New password');?>" data-typetoggle="#show" /> + <input type="checkbox" id="show" name="show" /><label for="show"><?php echo $l->t('show');?></label> <input id="passwordbutton" type="submit" value="<?php echo $l->t('Change password');?>" /> </fieldset> </form> |