[ticket/11863] Set require_activation to none if emails are disabled

https://tracker.phpbb.com/browse/PHPBB3-11863
Okay.. Not two but one loops. Would a nested loop be okay?