diff options
-rw-r--r-- | perllib/FixMyStreet/Cobrand/UK.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/UK.pm b/perllib/FixMyStreet/Cobrand/UK.pm index 322b257a7..772310545 100644 --- a/perllib/FixMyStreet/Cobrand/UK.pm +++ b/perllib/FixMyStreet/Cobrand/UK.pm @@ -427,8 +427,8 @@ sub requires_recaptcha { return 0 if $c->user_exists; return 0 if !FixMyStreet->config('RECAPTCHA'); + return 0 unless $c->action =~ /^(alert|report|around)/; return 0 if $c->user_country eq 'GB'; - return 0 unless $c->action =~ /^(alert|report)/; return 1; } |