/**
  * Update the "remember me" token for the given user in storage.
  *
  * @param  UserInterface $user
  * @param  string $token
  * @return void
  */
 public function updateRememberToken(UserInterface $user, $token)
 {
     // If Eloquent User
     if (!$user instanceof GenericUser) {
         // Update Remember Me Token
         $user->setAttribute($user->getRememberTokenName(), $token);
         $user->save();
     }
 }
 /**
  * Update the "remember me" token for the given user in storage.
  *
  * @param  \Illuminate\Auth\UserInterface  $user
  * @param  string                          $token
  * @return void
  */
 public function updateRememberToken(UserInterface $user, $token)
 {
     $user->setAttribute($user->getRememberTokenName(), $token);
     $user->save();
 }
 /**
  * Update the "remember me" token for the given user in storage.
  *
  * @param  UserInterface $user
  * @param  string        $token
  *
  * @return void
  */
 public function updateRememberToken(UserInterface $user, $token)
 {
     $user->{$user->getRememberTokenName()} = $token;
     $user->save();
 }