Set a standard value for enhanced auth time
This commit is contained in:
parent
6f2e8788ca
commit
5c0407306c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue