summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-05-24 16:18:27 +0200
committerChristoph Wurst <christoph@owncloud.com>2016-05-24 18:02:52 +0200
commita922957f768b61dcd12fa166488c5a9017b57428 (patch)
treed7f0e4d03948417986dcd97a2902e39f72332034 /config
parent28ce7dd262fbf748c46b915b67ac6c332fed8420 (diff)
downloadnextcloud-server-a922957f768b61dcd12fa166488c5a9017b57428.tar.gz
nextcloud-server-a922957f768b61dcd12fa166488c5a9017b57428.zip
add default token auth config on install, upgrade and add it to sample config
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 2a368965fba..ffdce5cc2d5 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -195,6 +195,13 @@ $CONFIG = array(
'session_keepalive' => true,
/**
+ * Enforce token authentication for clients, which blocks requests using the user
+ * password for enhanced security. Users need to generate tokens in personal settings
+ * which can be used as passwords on their clients.
+ */
+'token_auth_enforced' => 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.