diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-10-15 16:50:41 +0200 |
---|---|---|
committer | Daniel Molkentin <daniel@molkentin.de> | 2012-10-15 17:44:44 +0200 |
commit | e6b8153865a521a4750ec44016c5f22f453edfe1 (patch) | |
tree | 3eaaa34fd660750f78a91e387b169b567090f714 /settings/templates/personal.php | |
parent | 6b39b80648ea022cfb5839d1ac415912cafaa417 (diff) | |
download | nextcloud-server-e6b8153865a521a4750ec44016c5f22f453edfe1.tar.gz nextcloud-server-e6b8153865a521a4750ec44016c5f22f453edfe1.zip |
Remove old password check from changepassword and use verifyUser instead
Diffstat (limited to 'settings/templates/personal.php')
-rw-r--r-- | settings/templates/personal.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 55ff24b4223..0683bd3b64f 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -18,9 +18,8 @@ <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="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 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 id="passwordbutton" type="submit" value="<?php echo $l->t('Change password');?>" /> </fieldset> </form> |