E
E
Evgeny Perin2015-05-11 20:16:47
Laravel
Evgeny Perin, 2015-05-11 20:16:47

Where does user registration take place in laravel 5?

Installed laravel 5 with standard registration functionality. Added a package https://github.com/romanbican/roles
Now I want that when registering a user, he was given the role member by default. In which file is the entry to the database of a new user? And how can this new user attach a role?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cyrilca, 2015-05-23
@seoperin

/laravel/app/Services/Registar.php
Add a user role assignment here.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question