Henry Wright replied to the topic Buddypress – when user activates account,user role changes to default in the forum Installing BuddyPress 4 years, 5 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 2 years, 3 months ago