Henry Wright replied to the topic Buddypress – when user activates account,user role changes to default in the forum Installing BuddyPress 5 years, 3 months ago
Nowhere in your function do you tell BuddyPress to change the user’s role to
subscriber, therefore the problem must be coming from elsewhere. Try disabling all plugins and activating the Twenty Fifteen theme to see if the issues resolves.
@ashvin03 active 3 years, 1 month ago