summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-13 10:55:50 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-13 10:55:50 -0500
commit047236711e0e92a4d00d3009eb2fccf97b78a538 (patch)
tree2539ff11150f08940ba6dca482e0d891f15c17d1
parent1e3429b54b7a49c03c29ad6486b02830b96c9324 (diff)
Update doc and default config file for new config option
-rw-r--r--CONTRIBUTORS.md1
-rw-r--r--app/constants.php6
-rw-r--r--config.default.php3
-rw-r--r--doc/config.markdown3
4 files changed, 10 insertions, 3 deletions
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 118a837d..7cd2f446 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -28,6 +28,7 @@ Contributors:
- [Daniel Raknes](https://github.com/danielraknes)
- [David-Norris](https://github.com/David-Norris)
- [Dmitry](https://github.com/dmkcv)
+- [Djpadz](https://github.com/djpadz)
- [Draza (bdpsoft)](https://github.com/bdpsoft)
- [Eskiso](https://github.com/eSkiSo)
- [Esteban Monge](https://github.com/EstebanMonge)
diff --git a/app/constants.php b/app/constants.php
index 955edeb5..011fa784 100644
--- a/app/constants.php
+++ b/app/constants.php
@@ -97,6 +97,9 @@ defined('ENABLE_URL_REWRITE') or define('ENABLE_URL_REWRITE', isset($_SERVER['HT
// Hide login form
defined('HIDE_LOGIN_FORM') or define('HIDE_LOGIN_FORM', false);
+// Disabling logout (for external SSO authentication)
+defined('DISABLE_LOGOUT') or define('DISABLE_LOGOUT', false);
+
// Bruteforce protection
defined('BRUTEFORCE_CAPTCHA') or define('BRUTEFORCE_CAPTCHA', 3);
defined('BRUTEFORCE_LOCKDOWN') or define('BRUTEFORCE_LOCKDOWN', 6);
@@ -111,6 +114,3 @@ defined('HTTP_PROXY_HOSTNAME') or define('HTTP_PROXY_HOSTNAME', '');
defined('HTTP_PROXY_PORT') or define('HTTP_PROXY_PORT', '3128');
defined('HTTP_PROXY_USERNAME') or define('HTTP_PROXY_USERNAME', '');
defined('HTTP_PROXY_PASSWORD') or define('HTTP_PROXY_PASSWORD', '');
-
-// Disabling logout (for external SSO authentication)
-defined('DISABLE_LOGOUT') or define('DISABLE_LOGOUT', 0);
diff --git a/config.default.php b/config.default.php
index cc92daa3..52c0c143 100644
--- a/config.default.php
+++ b/config.default.php
@@ -166,6 +166,9 @@ define('ENABLE_URL_REWRITE', false);
// Hide login form, useful if all your users use Google/Github/ReverseProxy authentication
define('HIDE_LOGIN_FORM', false);
+// Disabling logout (for external SSO authentication)
+define('DISABLE_LOGOUT', false);
+
// Enable captcha after 3 authentication failure
define('BRUTEFORCE_CAPTCHA', 3);
diff --git a/doc/config.markdown b/doc/config.markdown
index 92ff2217..150cb6dc 100644
--- a/doc/config.markdown
+++ b/doc/config.markdown
@@ -267,6 +267,9 @@ define('API_AUTHENTICATION_HEADER', '');
// Hide login form, useful if all your users use Google/Github/ReverseProxy authentication
define('HIDE_LOGIN_FORM', false);
+// Disabling logout (for external SSO authentication)
+define('DISABLE_LOGOUT', false);
+
// Override API token stored in the database, useful for automated tests
define('API_AUTHENTICATION_TOKEN', 'My unique API Token');
```