diff options
author | Dave Arter <davea@mysociety.org> | 2017-06-13 16:42:52 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-04-08 14:44:31 +0100 |
commit | 64cc9c6c2c1b5ada438fd6e874e812739c259b1a (patch) | |
tree | aa4b271c3bdd6a59985949f8882db936f3e4309c /www/js/config.js-example | |
parent | c3214d95c633d63a93c67bba4879396bee465a99 (diff) |
Enforce LOGIN_REQUIRED setting
If LOGIN_REQUIRED is true, the app won't let you do anything until
you've logged in.
Diffstat (limited to 'www/js/config.js-example')
-rw-r--r-- | www/js/config.js-example | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/www/js/config.js-example b/www/js/config.js-example index 2e8017b..6260aef 100644 --- a/www/js/config.js-example +++ b/www/js/config.js-example @@ -48,7 +48,11 @@ var CONFIG = { // Set this to true if you want to disable the help button on the right hand // side of the screen. NB you'll also need to hide #display-help and #help // elements in your CSS. - HELP_DISABLED: false + HELP_DISABLED: false, + + // If this is true then the user must login as the first step after + // installing the app, and before making any reports. + LOGIN_REQUIRED: false }; |