From 756e8697c04dc0d4ba053f81a99022273377be35 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 6 Dec 2015 18:13:49 -0500 Subject: Add the possibility to define API token in config file --- doc/config.markdown | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') 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'); ``` -- cgit v1.2.3