Answers for "laravel add data to session after login"

PHP
2

set session after login with laravel

$user = Auth::User();
    Session::put('user', $user);
    $user=Session::get('user');
    return $user->name;
Posted by: Guest on October-20-2020

Code answers related to "laravel add data to session after login"

Browse Popular Code Answers by Language