Merge branch 'master' into translations

This commit is contained in:
Dan Brown
2016-12-31 14:32:52 +00:00
committed by GitHub
8 changed files with 37 additions and 32 deletions

View File

@ -52,7 +52,7 @@ class RegisterController extends Controller
*/
public function __construct(SocialAuthService $socialAuthService, EmailConfirmationService $emailConfirmationService, UserRepo $userRepo)
{
$this->middleware('guest');
$this->middleware('guest')->except(['socialCallback', 'detachSocialAccount']);
$this->socialAuthService = $socialAuthService;
$this->emailConfirmationService = $emailConfirmationService;
$this->userRepo = $userRepo;
@ -298,5 +298,4 @@ class RegisterController extends Controller
return $this->registerUser($userData, $socialAccount);
}
}