Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-05-08 14:38:09 +0400
committerBjörn Schießle <schiessle@owncloud.com>2013-05-08 14:38:09 +0400
commit135991474b7674881676dc6a9913bf6c778fdebc (patch)
tree7c63cbe38918cf2a9e63fc0e045ba98bcaf67718 /settings/ajax
parentd3ba20fee7e6a79591db392e94a38831d234639a (diff)
fix inconsistent post parameters in change password operation
Diffstat (limited to 'settings/ajax')
-rw-r--r--settings/ajax/changepassword.php2
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;