summaryrefslogtreecommitdiffstats
path: root/settings/ajax/lostpassword.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-07-07 15:27:04 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-07-07 15:27:04 +0200
commit777eb1d8b1d68f93d986bf2c8280e7416a1694e6 (patch)
tree75736860128c6d7cb6ef8ca628e039af71f55c15 /settings/ajax/lostpassword.php
parentec7bb86b2875c9e5afbd7db57de3c872afc3e90b (diff)
downloadnextcloud-server-777eb1d8b1d68f93d986bf2c8280e7416a1694e6.tar.gz
nextcloud-server-777eb1d8b1d68f93d986bf2c8280e7416a1694e6.zip
CSRF check in the settings
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');