search

Home  >  Q&A  >  body text

laravel - exit error when remember_token is not used, how to solve it?

if (! is_null($this->user) && ! empty($user->getRememberToken())) {
            $this->cycleRememberToken($user);
        }
某草草某草草2753 days ago512

reply all(1)I'll reply

  • 阿神

    阿神2017-05-16 16:49:16

    Wouldn’t it be better to use this route? Route::get('logout', 'AuthLoginController@logout')->name('logout');

    reply
    0
  • Cancelreply