Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-10-16 02:47:22 +0400
committerLukas Reschke <lukas@statuscode.ch>2012-10-16 02:47:38 +0400
commitf4142bd2a8508577ca0abc1f6d84b59dc6de26e5 (patch)
tree8b57b7a31fed19b933d3184ea357b4fed8273855 /lib/json.php
parent77e18b01ba19d8573b3d5360d492e2f0b5d1d391 (diff)
Move isUserVerified to OC_Util
Diffstat (limited to 'lib/json.php')
-rw-r--r--lib/json.php13
1 files changed, 1 insertions, 12 deletions
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
*/