Exemple #1
0
 /**
  * Display register new user form.
  *
  * @return \Illuminate\View\View
  */
 public function create()
 {
     $variables = [];
     if (class_exists('Ipunkt\\SocialAuth\\SocialAuth')) {
         if (\Ipunkt\SocialAuth\SocialAuth::hasRegistration()) {
             $variables['registerInfo'] = \Ipunkt\SocialAuth\SocialAuth::getRegistration();
         }
     }
     // Renew registerInfo in the session for the store call.
     Session::reflash();
     $view = View::make('auth::register', $variables);
     return $view;
 }