Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-11-25 18:08:24 +0400
committerRobin Appelman <icewind@owncloud.com>2013-11-25 18:08:24 +0400
commit71c1327691225a0a517aa3929a48743f95b177d0 (patch)
treea97d2765d35ff518fad9581fec8da4ed3ccdac87 /public.php
parentde2b4440301badf48e638ede84f64692f2a2db41 (diff)
Add "single user mode" which restricts access to users in the admin group
This can be enabled by setting 'singleuser' to true in config.php
Diffstat (limited to 'public.php')
-rw-r--r--public.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/public.php b/public.php
index 203372fe1ea..767295b98db 100644
--- a/public.php
+++ b/public.php
@@ -5,6 +5,7 @@ try {
require_once 'lib/base.php';
OC::checkMaintenanceMode();
+ OC::checkSingleUserMode();
if (!isset($_GET['service'])) {
header('HTTP/1.0 404 Not Found');
exit;