jeudi 6 octobre 2016

Multi user authentication laravel 5.2

can anyone tell me where to put below code in auth.php This is link i used for authentication

'multi' => [ 'user' => [ 'driver' => 'eloquent', 'model' => App\User::class, 'table' => 'users' ], 'admin' => [ 'driver' => 'eloquent', 'model' => App\Admin::class, 'table' => 'admins' ] ],



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire