diff options
author | Sam Tuke <samtuke@owncloud.com> | 2013-02-06 17:42:29 +0000 |
---|---|---|
committer | Sam Tuke <samtuke@owncloud.com> | 2013-02-06 17:42:29 +0000 |
commit | 81de09711b27bbe5ba421448671bfdf7cf48be22 (patch) | |
tree | 67ce781817942bea033f88119baf60bdc3cf3c47 | |
parent | 70d937cb29e2b1310e20f6cb8bf8d6fd53acf767 (diff) | |
download | nextcloud-server-81de09711b27bbe5ba421448671bfdf7cf48be22.tar.gz nextcloud-server-81de09711b27bbe5ba421448671bfdf7cf48be22.zip |
Fixed bug causing password change related hooks to not be called due to ajax
-rw-r--r-- | settings/ajax/changepassword.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/ajax/changepassword.php b/settings/ajax/changepassword.php index 6c4cab44a2b..3bc88e6b664 100644 --- a/settings/ajax/changepassword.php +++ b/settings/ajax/changepassword.php @@ -4,6 +4,8 @@ OCP\JSON::callCheck(); OC_JSON::checkLoggedIn(); +OC_APP::loadApps(); + $username = isset($_POST["username"]) ? $_POST["username"] : OC_User::getUser(); $password = $_POST["password"]; $oldPassword=isset($_POST["oldpassword"])?$_POST["oldpassword"]:''; |