Registration forms creating wrong user role
-
When creating new users with registration forms created by RM, the user role for these new users is created as a hardcoded ‘Subscriber’ rather than the default set in the WP Admin pages.
This should be fixed by going to public\models\class_rm_frontend_form_reg.php and changing ~line 121 to be
$this->service->get_user_service()->set_user_role($user_id, get_option(‘default_role’));
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Registration forms creating wrong user role’ is closed to new replies.