diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-09-18 15:54:24 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-09-30 13:02:09 +0100 |
commit | 6707cee96a465659e1da2d92addb3ebbbe201a8b (patch) | |
tree | 9a4a908829e9db09eaf566253f9c4be1e6f6beb7 /perllib/FixMyStreet/App/Controller/Report/Update.pm | |
parent | a369e1c1a178697d0f92cf82c5bdb23c1883925e (diff) |
Move some auth functions to their own controllers.
Move the social auth functions to Auth::Social, and the
change email/password functions to Auth::Profile. There
are no actual code changes.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/Update.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/Update.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/Update.pm b/perllib/FixMyStreet/App/Controller/Report/Update.pm index 033f5c017..36c45e621 100644 --- a/perllib/FixMyStreet/App/Controller/Report/Update.pm +++ b/perllib/FixMyStreet/App/Controller/Report/Update.pm @@ -438,9 +438,9 @@ sub save_update : Private { $c->stash->{detach_args} = [$token->token]; if ( $c->get_param('facebook_sign_in') ) { - $c->detach('/auth/facebook_sign_in'); + $c->detach('/auth/social/facebook_sign_in'); } elsif ( $c->get_param('twitter_sign_in') ) { - $c->detach('/auth/twitter_sign_in'); + $c->detach('/auth/social/twitter_sign_in'); } } |