BookStack\Http\Controllers\Auth\RegisterController::socialRegister PHP Method

socialRegister() public method

Redirect to the social site for authentication intended to register.
public socialRegister ( $socialDriver ) : mixed
$socialDriver
return mixed
    public function socialRegister($socialDriver)
    {
        $this->checkRegistrationAllowed();
        session()->put('social-callback', 'register');
        return $this->socialAuthService->startRegister($socialDriver);
    }