aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/Cobrand/TfL.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/TfL.pm b/perllib/FixMyStreet/Cobrand/TfL.pm
index 6f5cec730..150ae6ea3 100644
--- a/perllib/FixMyStreet/Cobrand/TfL.pm
+++ b/perllib/FixMyStreet/Cobrand/TfL.pm
@@ -85,6 +85,12 @@ sub report_sent_confirmation_email { 'id' }
sub report_age { '6 weeks' }
+sub password_expiry {
+ return if FixMyStreet->test_mode;
+ # uncoverable statement
+ 86400 * 365
+}
+
sub pin_colour {
my ( $self, $p, $context ) = @_;
return 'green' if $p->is_closed;