summaryrefslogtreecommitdiffstats
path: root/settings/ajax/lostpassword.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/lostpassword.php')
-rw-r--r--settings/ajax/lostpassword.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/lostpassword.php b/settings/ajax/lostpassword.php
index c6df8551f52..68f6b7933e6 100644
--- a/settings/ajax/lostpassword.php
+++ b/settings/ajax/lostpassword.php
@@ -2,8 +2,8 @@
// Init owncloud
require_once('../../lib/base.php');
-
OC_JSON::checkLoggedIn();
+OCP\JSON::callCheck();
$l=OC_L10N::get('core');