I'm using cakeDC.users plugin for CakePHP 3.6.x with social login via google. Currently the default role for a new user is "user". How can a change this?
Asked
Active
Viewed 91 times
1 Answers
1
You can specify the default role of all registered users via configuration file https://github.com/CakeDC/users/blob/master/config/users.php#L43
Override the Users.Registration.defaultRole
and use the one you would like to use.

steinkel
- 1,156
- 9
- 15
-
Thx a lot, I've overlooked it. – Michael Aug 24 '18 at 14:52