回答編集履歴
1
追記
test
CHANGED
@@ -1,3 +1,11 @@
|
|
1
1
|
よほど特殊な事情がない限りLaravelの認証で `$_SESSSION` を使うことはありません。
|
2
2
|
|
3
3
|
`Auth` を使用して下さい。
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
[https://readouble.com/laravel/5.6/ja/authentication.html](https://readouble.com/laravel/5.6/ja/authentication.html)
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
`php artisan make:auth` を実行することで会員登録・ログイン・ログアウトのサンプルコードが生成されますので、その実装を参考にしてみて下さい。
|