Auto assign role
I think im blind but:
I want when a user registeres, in the controller or where ever it gets handled, it automatically adds a default role to the registering user.
Is there a file where the register gets handled, or should i do it in the User model in a static::creating?
3 Replies