Answers for "how to login user in laravel"

PHP
4

how login one user with id in laravel

public function manualLogin(){
    $user = User::find(1);
    Auth::login($user);
    return redirect('/');
}
///////////////////////////////////////////////////////////////
// or 

Auth::logout();
Posted by: Guest on May-24-2021
0

login with laravel

html { height: 100%; }
body {
    min-height:100%; 
    position:relative; 
    padding-bottom:[footer-height] 
}
.footer { 
    position: absolute; 
    left: 0 ; right: 0; bottom: 0; 
    height:[footer-height] 
}
Posted by: Guest on March-04-2020

Code answers related to "how to login user in laravel"

Browse Popular Code Answers by Language