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
path: root/config
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-03-03 13:18:33 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2021-03-08 17:36:47 +0300
commit4076dfb0194a00f4795e87f2ae84e626a174bd06 (patch)
tree79c0e731f3d3cb3f31edcb8a962a84d1c4e41ad8 /config
parent43b333331d31da78e21298368f14a4fce393852a (diff)
Allow admins to disable the login form
In case they want to not allow this because they use SSO (and do not want the users to enter their credentials there by accident). ?direct=1 still works. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 5792381e4d7..5c5ac3399b8 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -306,6 +306,15 @@ $CONFIG = [
'auth.webauthn.enabled' => true,
/**
+ * By default the login form is always available. There are cases (SSO) where an
+ * admin wants to avoid users entering their credentials to the system if the SSO
+ * app is unavailable.
+ *
+ * This will show an error. But the the direct login still works with adding ?direct=1
+ */
+'hide_login_form' => false,
+
+/**
* The directory where the skeleton files are located. These files will be
* copied to the data directory of new users. Leave empty to not copy any
* skeleton files.