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();