diff --git a/lib/util.php b/lib/util.php index 58d784057accf940bf9c3c5035460be4d5e64e1f..873562cbc1f5a27d2b3ead966d6e5a6064c7fd4f 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); } }