Download & Extend

Add restriction of user registration fields on admin/user/user/create

Project:Profile role
Version:6.x-1.3
Component:Code
Category:feature request
Priority:normal
Assigned:boombatower
Status:needs work

Issue Summary

--

Comments

#1

Assigned to:Anonymous» boombatower
Status:active» needs review

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

Waiting for integration before those fields can be restricted.

AttachmentSize
profile_role_register.patch 1.53 KB

#2

Status:needs review» fixed

Committed.

#3

Status:fixed» closed (fixed)

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

#4

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.

#5