I don't want to use Laravel's built in authentication because it has the traditional username/password approach. The way my system is authenticated is basically
Being new, I just can't get my head around manually authenticating the user. In the documentation, it says to use Auth::attempt()
but this compares the data against the database. The code I have is just comparing the random generated OTP.
This line:
Auth::login($user)
Will log the user in.