Since the user_register form can be embedded anywhere (via additional modules, custom modules, etc), this patch reworks the logic in profile_role_form_user_register_alter() to only implement its logic on the administrative form, rather than the way it works now of implementing it everywhere user_register is called except on the path user/register.

CommentFileSizeAuthor
#1 user_register.patch546 bytesjhedstrom
user_register.patch545 bytesjhedstrom

Comments

jhedstrom’s picture

StatusFileSize
new546 bytes

Here's the correct patch.