issues
search
CUPA-mario
/
pokemon-diary
A visually appealing, shareable Pokémon diary, allowing a user to register on a website, add their “friendcode” and then add an entry for every pokemon they capture.
https://develop-sr3snxi-7vmrylydihhra.us.platformsh.site
1
stars
0
forks
source link
[BE] - Auto assign trainer role to user registered via registration link
#56
Closed
binnssss
closed
2 weeks ago
hahaharisoman
commented
2 weeks ago
References:
https://www.drupal.org/forum/support/post-installation/2023-03-17/assign-role-to-user-at-user-registration
https://www.drupal.org/project/registration_role
Commands run:
ddev composer require 'drupal/registration_role:^2.0'
ddev drush en registration_role
ddev drush cr
How to Configure:
Go to: /admin/people/registration-role
Select role for new registered users:
then click Save configration.
Register a new user.
Check in User list if newly created account is assigned to your specific role:
https://pokemon-diary.ddev.site/admin/people
References:
Commands run:
How to Configure: