Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のユーザーはソーシャルオプション(Facebook、Twitter)を使用してログインできるため、この方法は使用しませんAuth::attempt()が、Auth::login()。
Auth::attempt()
Auth::login()
ユーザーがブラウザを再起動するたびにログインする必要がないように、どうすればユーザーを覚えることができますか?
ドキュメントにはありませんが、コードを見ると;
public function login(UserInterface $user, $remember = false)
だからただする
Auth::login($user, true);