From 5c0407306c56ccf583ad679d30f13b75c3856c55 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 16 Oct 2012 01:04:20 +0200 Subject: [PATCH] Set a standard value for enhanced auth time --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 58d784057a..873562cbc1 100755 --- a/lib/util.php +++ b/lib/util.php @@ -394,7 +394,7 @@ class OC_Util { // Check password to set session if(isset($_POST['password'])) { if (OC_User::login(OC_User::getUser(), $_POST["password"] ) === true) { - $_SESSION['verifiedLogin']=time() + OC_Config::getValue('enhancedauthtime'); + $_SESSION['verifiedLogin']=time() + OC_Config::getValue('enhancedauthtime', 15 * 60); } }