I have 2 strings
$password_api = VSE::user('password',$username); //abc
$password = Input::get('password'); //abc
If they're matched, I want to log the user in
if ( $password == $password_api ) {
// Not sure what to do in here ...
$auth = Auth::attempt();
}
This approach is just for the demo purpose.
How can I do that in Laravel 5 ?
Any hints / suggestion will be much appreciated
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire