aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Tokens.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-05-27 15:21:52 +0100
committerStruan Donald <struan@exo.org.uk>2011-05-27 15:21:52 +0100
commitc1d452268803870478c568f1611a7dc7d211a7be (patch)
tree82af4898832d220f51f42861edef4a6fe09b88c3 /perllib/FixMyStreet/App/Controller/Tokens.pm
parentd0c08d710c23eed672c2c88834820c7bcf25eb91 (diff)
make sure you are allowed to answer the questionnaire asked when a problem reporter marks the problem as fixed.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Tokens.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Tokens.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Tokens.pm b/perllib/FixMyStreet/App/Controller/Tokens.pm
index 7053edc95..5d1d9eafb 100644
--- a/perllib/FixMyStreet/App/Controller/Tokens.pm
+++ b/perllib/FixMyStreet/App/Controller/Tokens.pm
@@ -149,10 +149,10 @@ sub confirm_update : Path('/C') {
return;
}
- $c->forward('/report/update/confirm');
-
$c->authenticate( { email => $comment->user->email }, 'no_password' );
+ $c->forward('/report/update/confirm');
+
return 1;
}