diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-02-06 11:47:55 -0800 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-02-06 11:47:55 -0800 |
commit | 93b15973951e00f066eacf92cc3bff8fc24dbefd (patch) | |
tree | 43c29786f3fc7b20b47e0ab2e77a54eb479cb920 /settings/ajax | |
parent | e522872408e4fab2277d6deee475d0241ad6a825 (diff) | |
parent | 2c22619a18961d107b61b7486f2caf5cff4bc6a5 (diff) | |
download | nextcloud-server-93b15973951e00f066eacf92cc3bff8fc24dbefd.tar.gz nextcloud-server-93b15973951e00f066eacf92cc3bff8fc24dbefd.zip |
Merge pull request #1506 from owncloud/files_encryption
Files encryption
Diffstat (limited to 'settings/ajax')
-rw-r--r-- | settings/ajax/changepassword.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/ajax/changepassword.php b/settings/ajax/changepassword.php index c1ff0a63701..ceb4bbeecb0 100644 --- a/settings/ajax/changepassword.php +++ b/settings/ajax/changepassword.php @@ -4,6 +4,9 @@ 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(); $password = $_POST["password"]; $oldPassword=isset($_POST["oldpassword"])?$_POST["oldpassword"]:''; |