Danielss89 / ZfcUserAdmin

An admin interface for ZfcUser
36 stars 45 forks source link

[Question] Created user has no role assigned. #70

Closed websafe closed 9 years ago

websafe commented 9 years ago

I'm using ZfcAdmin together with BjyAuthorize and ZfcUserDoctrineORM and everything works fine, except when I create a new user, the user is being created, I can login, but the user has no role assigned...

How can I configure ZfcUserAdmin to apply a specified role to newly created/registered users?

websafe commented 9 years ago

Solved :-)

Daniel Strøm You can listen to events, and when a user is created, assign the role.