1
0

More than 1 year has passed since last update.

これでわかるLaravel8.Xのマルチ認証(Multi Auth)の設定方法

Last updated at Posted at 2022-02-23

web.php
Route::prefix('employee')->namespace('Emplyee')->name('employee.')->group(function(){
    Auth::routes();
});
php artisan route:list

ここで、修正してもLaravel8を使用している方は、エラーが出ちゃうと思います。
それはルーティングの指定がLaravel7とLaravel8で
変更になったからです。

その対処法はこちら

->namespace('App\Http\Controllers\Emplyee')

これで、OKです!

詳しくはこちらの記事を参考にしてみてください!

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0