diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-10-16 01:02:03 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-10-16 01:02:03 +0200 |
commit | 6f2e8788ca7cc8edb677b8596f39c90c3f13be77 (patch) | |
tree | e8db9173ff68a359d015349f0d744ab48c4f87c3 /lib/json.php | |
parent | f4142bd2a8508577ca0abc1f6d84b59dc6de26e5 (diff) | |
download | nextcloud-server-6f2e8788ca7cc8edb677b8596f39c90c3f13be77.tar.gz nextcloud-server-6f2e8788ca7cc8edb677b8596f39c90c3f13be77.zip |
Make enhanced auth time configurable
Diffstat (limited to 'lib/json.php')
-rw-r--r-- | lib/json.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/json.php b/lib/json.php index 3e55f618430..b828f35f345 100644 --- a/lib/json.php +++ b/lib/json.php @@ -80,10 +80,9 @@ class OC_JSON{ } /** - * Check if the user verified the login with his password in the last 15 minutes + * Check if the user verified the login with his password */ public static function verifyUser() { - // Check if the user verified his password in the last 15 minutes if(!isset($_SESSION['verifiedLogin']) OR $_SESSION['verifiedLogin'] < time()) { $l = OC_L10N::get('lib'); self::error(array( 'data' => array( 'message' => $l->t('Authentication error') ))); |