LoginSignup
0
0

More than 3 years have passed since last update.

laravel 認証機能のリダイレクト先変更

Posted at

laravelの初期設定では、ログインやユーザ登録後のリダイレクト先は/homeとなっています。
これを変更するには、下記のコントローラーの記述を修正する必要があります。

・修正するコントローラー
RouteServiceProvider.php

・場所
プロジェクト名
-app
-Providers
-RouteServiceProvider.php

・修正する場所
24行目
public const HOME = '/home';

public const HOME = '/';

0
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
0
0