diff options
author | Dave Arter <davea@mysociety.org> | 2020-06-01 16:12:57 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2020-07-02 14:38:29 +0100 |
commit | 6a013ddcfeb590863e16989652a0393acceb6e29 (patch) | |
tree | 32d83792305f4ce26964e1aed28bb7f2e0e0eabe | |
parent | 761afd95fdc7cc98adb87c0ccfbb850e91dccc25 (diff) |
[Hackney] Enable anonymous reporting
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Hackney.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Hackney.pm b/perllib/FixMyStreet/Cobrand/Hackney.pm index deb408ab1..76cd3f1dd 100644 --- a/perllib/FixMyStreet/Cobrand/Hackney.pm +++ b/perllib/FixMyStreet/Cobrand/Hackney.pm @@ -55,4 +55,12 @@ sub default_map_zoom { 5 } sub admin_user_domain { 'hackney.gov.uk' } +sub anonymous_account { + my $self = shift; + return { + email => $self->feature('anonymous_account') . '@' . $self->admin_user_domain, + name => 'Anonymous user', + }; +} + 1; |