public function loginEmailCallback()
  {
    if (Get::has('token')) {
      $provider = $this->provider;

      $varified = MagicLink::verify(Get::key('token'), $provider, $this->musk());

      if (isset($varified->id)) {
        if (Auth::provider($provider)->login($varified)->status == 'success') {
          return Redirect::to($this->redirectPath(), 200);
        }
      }
    }

    $this->fails();
  }
public function loginEmailCallback()
  {
    if (Get::has('token')) {
      $provider = $this->provider;

      $varified = MagicLink::verify(Get::key('token'), $provider, $this->musk());

      if (isset($varified->id)) {
        if (Auth::provider($provider)->login($varified)->status == 'success') {
          return Redirect::to($this->redirectPath(), 200);
        }
      }
    }

    $this->fails();
  }
public function loginEmailCallback ( ) { if ( Get :: has ( 'token' ) ) { $ provider = $ this -> provider ; $ varified = MagicLink :: verify ( Get :: key ( 'token' ) , $ provider , $ this -> musk ( ) ) ; if ( isset ( $ varified -> id ) ) { if ( Auth :: provider ( $ provider ) -> login ( $ varified ) -> status == 'success' ) { return Redirect :: to ( $ this -> redirectPath ( ) , 200 ) ; } } } $ this -> fails ( ) ; }
Login email callback

@return void
Login email callback