src/Ipunkt/SocialAuth/ProfileRegisterInfo.php
public function success(UserInterface $user) {
        $repository = App::make('Ipunkt\SocialAuth\Repositories\SocialLoginRepository');
        /**
         * @var SocialLoginRepository $repository
         */
        $login = $repository->create();
        $login->setIdentifier($this->identifier);
        $login->setProvider($this->provider);
        $login->setUser($user->getAuthIdentifier());
        $success = $repository->save($login);
	    if($success)
		    Event::fire('social-auth.register', ['user' => $user, 'registerInfo' => $this]);
	    return $success;
    }
public function success(UserInterface $user) {
        $repository = App::make('Ipunkt\SocialAuth\Repositories\SocialLoginRepository');
        /**
         * @var SocialLoginRepository $repository
         */
        $login = $repository->create();
        $login->setIdentifier($this->identifier);
        $login->setProvider($this->provider);
        $login->setUser($user->getAuthIdentifier());
        $success = $repository->save($login);
	    if($success)
		    Event::fire('social-auth.register', ['user' => $user, 'registerInfo' => $this]);
	    return $success;
    }
public function success ( UserInterface $ user ) { $ repository = App :: make ( 'Ipunkt\SocialAuth\Repositories\SocialLoginRepository' ) ; /**
         * @var SocialLoginRepository $repository
         */ $ login = $ repository -> create ( ) ; $ login -> setIdentifier ( $ this -> identifier ) ; $ login -> setProvider ( $ this -> provider ) ; $ login -> setUser ( $ user -> getAuthIdentifier ( ) ) ; $ success = $ repository -> save ( $ login ) ; if ( $ success ) Event :: fire ( 'social-auth.register' , [ 'user' => $ user , 'registerInfo' => $ this ] ) ; return $ success ; }
Notify the provider of the RegisterInfo that the user was now successfuly registered.

Attaches the social-auth user to the newly created user
Notify the provider of the RegisterInfo that the user was now successfuly registered .