diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-12-06 18:13:49 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-12-06 18:13:49 -0500 |
commit | 756e8697c04dc0d4ba053f81a99022273377be35 (patch) | |
tree | 2cb892dae61260d45e158185efe6a5c305da6162 /doc | |
parent | 46dfd453a9572d4d655631ef0a03dfaa42f4394d (diff) |
Add the possibility to define API token in config file
Diffstat (limited to 'doc')
-rw-r--r-- | doc/config.markdown | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/config.markdown b/doc/config.markdown index 8ae56df6..e7916454 100644 --- a/doc/config.markdown +++ b/doc/config.markdown @@ -294,4 +294,7 @@ define('API_AUTHENTICATION_HEADER', ''); // Hide login form, useful if all your users use Google/Github/ReverseProxy authentication define('HIDE_LOGIN_FORM', false); + +// Override API token stored in the database, useful for automated tests +define('API_AUTHENTICATION_TOKEN', 'My unique API Token'); ``` |