Closed zwl1619 closed 7 years ago
Hi, If you look at login method in LoginController you'll see where this session value is created. It's when a user want to login but is not confirmed, so the id is stocked in session and there is a redirection on login page with a special message and a button to resend url. We need id to notify the user.
@bestmomo thanks! I see.
There is a
resend()
method in\app\Http\Controllers\Auth\RegisterController.php
:I don't understand
$request->session()->has('user_id')
. When is thereuser_id
in session and when is there nouser_id
in session?