]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixed bug causing password change related hooks to not be called due to ajax
authorSam Tuke <samtuke@owncloud.com>
Wed, 6 Feb 2013 17:42:29 +0000 (17:42 +0000)
committerSam Tuke <samtuke@owncloud.com>
Wed, 6 Feb 2013 17:42:29 +0000 (17:42 +0000)
settings/ajax/changepassword.php

index 6c4cab44a2bc4382bd8fda17328dfd01621e9b56..3bc88e6b6647fc0f1fadb504b7846e5edc9b9bfa 100644 (file)
@@ -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"]:'';