aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/Default.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-02-01 14:37:35 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-02-06 16:53:25 +0000
commit3e201f8d48554ab8c4b8132eaa50b5fe7dd1d67e (patch)
tree7b943b171bfbcdd74444d5a938291c69218ea027 /perllib/FixMyStreet/Cobrand/Default.pm
parent35445b8cc7ae02acdfbfc3e2e9da15b022736906 (diff)
Add length/common password checking.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Default.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/Default.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm
index 7888f8ccf..c6ca5c56b 100644
--- a/perllib/FixMyStreet/Cobrand/Default.pm
+++ b/perllib/FixMyStreet/Cobrand/Default.pm
@@ -59,6 +59,14 @@ sub path_to_email_templates {
return $paths;
}
+=item password_minimum_length
+
+Returns the minimum length a password can be set to.
+
+=cut
+
+sub password_minimum_length { 6 }
+
=item country
Returns the country that this cobrand operates in, as an ISO3166-alpha2 code.