aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/config.js-example
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/config.js-example')
-rw-r--r--www/js/config.js-example10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/js/config.js-example b/www/js/config.js-example
index 6be0250..66e0ed8 100644
--- a/www/js/config.js-example
+++ b/www/js/config.js-example
@@ -69,7 +69,15 @@ var CONFIG = {
// If the user is logged in and this setting is true, the 'Your details'
// page is skipped and the report is sent immediately after the report
// details have been entered.
- SKIP_CONFIRM_REPORT: false
+ SKIP_CONFIRM_REPORT: false,
+
+ // You can optionally enforce a minimum password length if the user is
+ // registering an account when submitting a report. This should match the
+ // same minimum length required by your FixMyStreet server.
+ // Set this to 0 if you wish to disable this check. NB: If the check is
+ // active on the server the user's password may still be rejected if it's
+ // too short.
+ PASSWORD_MIN_LENGTH: 6
};