From 93ca775e5745778dd4455fe616615222f82c89a1 Mon Sep 17 00:00:00 2001 From: sergioperezf Date: Mon, 20 Apr 2015 12:46:15 -0500 Subject: [PATCH] Redirect when route scn-social-auth-user/register --- src/ScnSocialAuth/Controller/RedirectCallback.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ScnSocialAuth/Controller/RedirectCallback.php b/src/ScnSocialAuth/Controller/RedirectCallback.php index 5eb7c140..b5dd8410 100644 --- a/src/ScnSocialAuth/Controller/RedirectCallback.php +++ b/src/ScnSocialAuth/Controller/RedirectCallback.php @@ -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();