Fixed bug causing password change related hooks to not be called due to ajax
This commit is contained in:
parent
70d937cb29
commit
81de09711b
|
@ -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"]:'';
|
||||
|
|
Loading…
Reference in New Issue