From within Tinker I am trying to:
>>> Auth::loginUsingId(12);
=> false
>>> Auth::user();
=> null
>>> Auth::attempt(['email' => '[email protected]']);
=> false
I am guessing that since Auth typically uses session data, and maybe sessions don't work with tinker.
Is it possible to authenticate within tinker?
Auth::loginUsingId('[email protected]');
– Bevel