From 81de09711b27bbe5ba421448671bfdf7cf48be22 Mon Sep 17 00:00:00 2001 From: Sam Tuke Date: Wed, 6 Feb 2013 17:42:29 +0000 Subject: [PATCH] Fixed bug causing password change related hooks to not be called due to ajax --- settings/ajax/changepassword.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/settings/ajax/changepassword.php b/settings/ajax/changepassword.php index 6c4cab44a2..3bc88e6b66 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"]:'';