Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function getSession() {
- $session = Auth::user(); // or session('yourSessionKey');
- return response()->json($session, 200);
- }
- Route::get('check/auth', 'ControllerPath@getSession');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement