Partial Login/ Register
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 error
BadMethodCallException: Call to undefined method Illuminate\Database\Query\Builder::getAuthIdentifierName()
Is it that I am restricted to using the
Authentication::classthus I should probably extend it?
Or am I doing something wrong here.