Set a standard value for enhanced auth time

This commit is contained in:
Lukas Reschke 2012-10-16 01:04:20 +02:00
parent 6f2e8788ca
commit 5c0407306c

View file

@ -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);
}
}