F
Filament11mo ago
J

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
Sjoerd24
Sjoerd2411mo ago
Yeah i would do it there or in a dedicated observer.
J
JOP11mo ago
is there not like a file where the register gets handled? ic ant find it or im blind
Mike
Mike10mo ago
@Jochem did you find a solution for this?
Want results from more Discord servers?
Add your server