Hi,
I am facing an issue and I need someone to help me in this.
I have some required fields in user profile form. I want users to fill those when they login. pfff ( https://www.drupal.org/project/pfff ) module is doing this fine, but I want that it should not redirect superuser to those fields. I added a condition in pfff_user_login() to skip these fields for superuser in pfff.module file where it is working fine (skips those required fields for superuser). But I don't want to add that condition in pfff.module file instead I have a custom module to add this condition.
The issue is that user_login function in my custom module is not gettting called. I assume that pfff_user_login is overwriting this. So I tried to shift module weight but that didn't work either.
Can anyone help me how I can get this done.
best regards,
Umed
Comments
Comment #1
umed91 commented