--

CommentFileSizeAuthor
#1 profile_role_register.patch1.53 KBboombatower

Comments

boombatower’s picture

Assigned: Unassigned » boombatower
Status: Active » Needs review
StatusFileSize
new1.53 KB

Restricts fields on admin page, but leaves them along on /user/register page.

Waiting for integration before those fields can be restricted.

boombatower’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Falco20019’s picture

Version: 6.x-1.x-dev » 6.x-1.3
Status: Closed (fixed) » Needs work

If used together with the languages-module, you maybe have a different action instead of /user/register. I had /en/user/register.

So if ($form['#action'] == '/user/register') { doesn't work. Using if ($form['form_id']['#value'] == 'user_register') { instead this problem can be avoided.

bartezz’s picture