Skip to content

User plugin registering guests users #544

@thedoofus

Description

@thedoofus

In the docs (linked below) under guest users, it says you can create a guest by passing the 'is_guest' => true" - is this the create method because none is shown in the example given. You also get a validation error because a first_name is required. Is it possible to bypass this?

https://github.com/rainlab/user-plugin/blob/master/docs/auth-manager.md

It also states that you can convert a guest user to a registered user by providing password and confirmation along with the email address to the create method, and you won't receive a "email already taken" error - but this doesn't seem to be the case.

I can get round this by getting the user, running the convertToRegistered() method setting the password, and name manually.

On that, the convertToRegistered() method keeps the guest group as the primary group - shouldn't this get updated to the Registered group at this point?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions