Partial Login/ Register
-
Hello,
I'm trying to create a scenario where user can enter information without fully registering but are given the option to complete registration post success.
Thus I am creating a user via
app(UserRegistration::class)->register($params)->getUserId();
but only passing an email and an auto generated password.However, in trying to do
Auth::loginUserId()
I get the errorBadMethodCallException: Call to undefined method Illuminate\Database\Query\Builder::getAuthIdentifierName()
Is it that I am restricted to using the
Authentication::class
thus I should probably extend it?
Or am I doing something wrong here.