Here's my AuthController@authentication
Session::put('active_user','USER_INFO');
Session::save();
When I am trying to access session in middleware Authenticate.php
Log::info(Session::get('active_user'));
i got nothing.
I used
Illuminate\Support\Facades\Session
Here's my route.php
Route::post('/login','AuthController@authenticate');
Thanks in advance.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire