Add the possibility to define API token in config file
This commit is contained in:
@@ -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');
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user