From f4142bd2a8508577ca0abc1f6d84b59dc6de26e5 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 16 Oct 2012 00:47:22 +0200 Subject: Move isUserVerified to OC_Util --- lib/json.php | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'lib/json.php') diff --git a/lib/json.php b/lib/json.php index b6acaae4c97..3e55f618430 100644 --- a/lib/json.php +++ b/lib/json.php @@ -90,18 +90,7 @@ class OC_JSON{ exit(); } } - /** - * Check if the user verified the login with his password in the last 15 minutes - * @return bool - */ - public static function isUserVerified() { - // Check if the user verified his password in the last 15 minutes - if(!isset($_SESSION['verifiedLogin']) OR $_SESSION['verifiedLogin'] < time()) { - return false; - } - return true; - } - + /** * Send json error msg */ -- cgit v1.2.3