diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-05-08 14:38:09 +0400 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-05-08 14:38:09 +0400 |
commit | 135991474b7674881676dc6a9913bf6c778fdebc (patch) | |
tree | 7c63cbe38918cf2a9e63fc0e045ba98bcaf67718 /settings/ajax | |
parent | d3ba20fee7e6a79591db392e94a38831d234639a (diff) |
fix inconsistent post parameters in change password operation
Diffstat (limited to 'settings/ajax')
-rw-r--r-- | settings/ajax/changepassword.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/changepassword.php b/settings/ajax/changepassword.php index 1fc6d0e1000..4f16bff63d5 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["newpassword"]) ? $_POST["newpassword"] : null; $oldPassword=isset($_POST["oldpassword"])?$_POST["oldpassword"]:''; $userstatus = null; |