summaryrefslogtreecommitdiffstats
path: root/settings/ajax
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-08-28 06:23:13 -0700
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-08-28 06:23:13 -0700
commit0c02e1efef76430eea8986697cd9736814fb604a (patch)
treeebe3026c3eaa4529a23a910acc7a4d102661f3fd /settings/ajax
parentada15a2b8e7c779db84c54f79df0074b10a5566d (diff)
parentfbe7a68ce8837fd60f36ba21298c8e8cd68f42fe (diff)
downloadnextcloud-server-0c02e1efef76430eea8986697cd9736814fb604a.tar.gz
nextcloud-server-0c02e1efef76430eea8986697cd9736814fb604a.zip
Merge pull request #4563 from owncloud/use_personal-password
Use personal-password for the password name in personal.php
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 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;