Exemple #1
0
 /**
  * Set or refresh our cookies.
  * 
  * @param  \Illuminate\Auth\UserInterface  $user
  * @param  bool  $remember
  * @return void
  */
 protected function setLoginCookie(UserInterface $user, $remember = false)
 {
     $username = $user->getUsername();
     $password = $user->getAuthPassword();
     $this->etSession->login($username, $password, $remember);
 }