diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-06-20 18:50:21 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-06-20 18:50:21 +0100 |
commit | 094ce47ab94387949a27dbcbde6930754cb8ddc3 (patch) | |
tree | 5d088778cfeeb23d0d3b377454b5b4be0fade0ed /perllib/FixMyStreet/App/Controller/Report/New.pm | |
parent | 8e96ff0e64a0b5c96912fa25189d7288d5f1d5ca (diff) | |
parent | 1ac833b14eddb275ae124035dc95650e725265d3 (diff) |
Merge branch '360-change-email'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/New.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/New.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm index af9ca50b5..9779a5e2a 100644 --- a/perllib/FixMyStreet/App/Controller/Report/New.pm +++ b/perllib/FixMyStreet/App/Controller/Report/New.pm @@ -81,6 +81,7 @@ sub report_new : Path : Args(0) { # create the report - loading a partial if available $c->forward('initialize_report'); + $c->forward('/auth/get_csrf_token'); # work out the location for this report and do some checks # Also show map if we're just updating the filters @@ -96,6 +97,7 @@ sub report_new : Path : Args(0) { # deal with the user and report and check both are happy return unless $c->forward('check_form_submitted'); + $c->forward('/auth/check_csrf_token'); $c->forward('process_user'); $c->forward('process_report'); $c->forward('/photo/process_photo'); |