summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-10-16 01:04:20 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-10-16 01:04:20 +0200
commit5c0407306c56ccf583ad679d30f13b75c3856c55 (patch)
tree695dc827fd6b34ae27275802c76915417ebb1912 /lib
parent6f2e8788ca7cc8edb677b8596f39c90c3f13be77 (diff)
downloadnextcloud-server-5c0407306c56ccf583ad679d30f13b75c3856c55.tar.gz
nextcloud-server-5c0407306c56ccf583ad679d30f13b75c3856c55.zip
Set a standard value for enhanced auth time
Diffstat (limited to 'lib')
-rwxr-xr-xlib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 58d784057ac..873562cbc1f 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);
}
}