LoginSignup
1
0

More than 3 years have passed since last update.

laravel認証機能

Last updated at Posted at 2019-10-07

要件

既存のテーブルを使い認証処理
php artisanの認証機能を使う

認証機能作成

php artisan migrate
php artisan make:auth

ログイン後リダイレクトされるurl指定

  • app\Http\Controllers\Auth\LoginController.phpのプロパティ変更
LoginController.php
protected $redirectTo = '/test';
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