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-example11
1 files changed, 10 insertions, 1 deletions
diff --git a/www/js/config.js-example b/www/js/config.js-example
index 66e0ed8..1f1eef1 100644
--- a/www/js/config.js-example
+++ b/www/js/config.js-example
@@ -77,7 +77,16 @@ var CONFIG = {
// 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
+ PASSWORD_MIN_LENGTH: 6,
+
+ // FMS provides a mechanism for rejecting passwords that are too common.
+ // Set this flag to true if the password should be checked against the
+ // server when a user registers an account via the app.
+ // NB: If this flag is false here but the check is active on the FMS server,
+ // common passwords will still be rejected at the point the report is sent
+ // from the app to the server - which may be a large POST if the report has
+ // photos attached.
+ PASSWORD_CHECK_COMMON: true
};