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 error

    BadMethodCallException: 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.

Log in to reply

Looks like your connection to AsgardCms was lost, please wait while we try to reconnect.