Skip to content

Commit

Permalink
Merge pull request #204 from sergioperezf/master
Browse files Browse the repository at this point in the history
Redirect when route scn-social-auth-user/register
  • Loading branch information
SocalNick committed Apr 20, 2015
2 parents 7862cbb + 93ca775 commit c829804
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ScnSocialAuth/Controller/RedirectCallback.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ private function getRedirect($currentRoute, $redirect = false)
switch ($currentRoute) {
case 'zfcuser/login':
case 'scn-social-auth-user/login':
case 'scn-social-auth-user/register':
case 'scn-social-auth-user/authenticate/provider':
case 'scn-social-auth-user/add-provider/provider':
$route = ($redirect) ?: $this->options->getLoginRedirectRoute();
Expand Down

0 comments on commit c829804

Please sign in to comment.