summaryrefslogtreecommitdiffstats
path: root/lib/setup.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-10-16 01:02:03 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-10-16 01:02:03 +0200
commit6f2e8788ca7cc8edb677b8596f39c90c3f13be77 (patch)
treee8db9173ff68a359d015349f0d744ab48c4f87c3 /lib/setup.php
parentf4142bd2a8508577ca0abc1f6d84b59dc6de26e5 (diff)
downloadnextcloud-server-6f2e8788ca7cc8edb677b8596f39c90c3f13be77.tar.gz
nextcloud-server-6f2e8788ca7cc8edb677b8596f39c90c3f13be77.zip
Make enhanced auth time configurable
Diffstat (limited to 'lib/setup.php')
-rw-r--r--lib/setup.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/setup.php b/lib/setup.php
index 716b0ef063d..2ac91482e54 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -391,6 +391,9 @@ class OC_Setup {
self::createHtaccess();
}
+ // Set the admin auth time
+ OC_Config::setValue('enhancedauthtime', 15 * 60);
+
//and we are done
OC_Config::setValue('installed', true);
}