From fbe7a68ce8837fd60f36ba21298c8e8cd68f42fe Mon Sep 17 00:00:00 2001 From: kondou Date: Sat, 24 Aug 2013 14:31:32 +0200 Subject: [PATCH] Use personal-password for the password name in personal.php Fix #4491 --- settings/ajax/changepassword.php | 2 +- settings/templates/personal.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/settings/ajax/changepassword.php b/settings/ajax/changepassword.php index d409904ebc7..47ceb5ab873 100644 --- a/settings/ajax/changepassword.php +++ b/settings/ajax/changepassword.php @@ -8,7 +8,7 @@ OC_JSON::checkLoggedIn(); OC_APP::loadApps(); $username = isset($_POST['username']) ? $_POST['username'] : OC_User::getUser(); -$password = isset($_POST['password']) ? $_POST['password'] : null; +$password = isset($_POST['personal-password']) ? $_POST['personal-password'] : null; $oldPassword = isset($_POST['oldpassword']) ? $_POST['oldpassword'] : ''; $recoveryPassword = isset($_POST['recoveryPassword']) ? $_POST['recoveryPassword'] : null; diff --git a/settings/templates/personal.php b/settings/templates/personal.php index bad88142da9..63e1258b958 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -40,7 +40,7 @@ if($_['passwordChangeSupported']) {
t('Your password was changed');?>
t('Unable to change your password');?>
- -- 2.39.5