Support the ongoing development of Laravel.io →
Igor Valkenburg

Igor Valkenburg

Joined 6 Jul 2017

Statistics

Threads 0
Replies 1
Solutions 0
Articles 0

uglypony has not posted any threads yet

4 years ago

Assign default role while user register

An option is to do it using a model event in your User model. class User extends Authenticatable {...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.