summaryrefslogtreecommitdiffstats
path: root/settings/ajax
diff options
context:
space:
mode:
authorSam Tuke <samtuke@owncloud.com>2013-02-06 18:24:35 +0000
committerSam Tuke <samtuke@owncloud.com>2013-02-06 18:24:35 +0000
commit954a6274836e8fbf83fbbfb34fc89c250c7da13b (patch)
treec0425ed63c0429e248931421145fb438db5983df /settings/ajax
parent2b07afc8ab5eddb53973f57a63e586ffde201809 (diff)
downloadnextcloud-server-954a6274836e8fbf83fbbfb34fc89c250c7da13b.tar.gz
nextcloud-server-954a6274836e8fbf83fbbfb34fc89c250c7da13b.zip
Added comment
Diffstat (limited to 'settings/ajax')
-rw-r--r--settings/ajax/changepassword.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/ajax/changepassword.php b/settings/ajax/changepassword.php
index 3bc88e6b664..ce4e326830c 100644
--- a/settings/ajax/changepassword.php
+++ b/settings/ajax/changepassword.php
@@ -4,6 +4,7 @@
OCP\JSON::callCheck();
OC_JSON::checkLoggedIn();
+// Manually load apps to ensure hooks work correctly (workaround for issue 1503)
OC_APP::loadApps();
$username = isset($_POST["username"]) ? $_POST["username"] : OC_User::getUser();