Added a new config.php setting DISABLE_AUTH to be able to disable authentication / the login screen (closes #246)

This commit is contained in:
Bernd Bestel
2019-07-06 18:29:18 +02:00
parent 8c205941c7
commit 09b23847b5
5 changed files with 16 additions and 2 deletions

View File

@@ -41,6 +41,10 @@ Setting('STOCK_BARCODE_LOOKUP_PLUGIN', 'DemoBarcodeLookupPlugin');
# set this to true
Setting('DISABLE_URL_REWRITING', false);
# Set this to true if you want to disable authentication / the login screen,
# places where user context is needed will then use the default (first existing) user
Setting('DISABLE_AUTH', false);