Hi,
I have installed this module before and I just noticed now that the user email editing constraint is not working.
I have set the default settings to protect email edits. I have also set the authenticated user role to disable email editing.
However, when I try to edit a user account ( logging in using a non-admin account ) - I see the user email field still editable ( it is marked as required ).
What is the problem? I have tested this on multiple systems using Drupal 6. Email protection was working before - but now, it is not working anymore.
My current setup is:
User Protect 6.14
Drupal 6.19 ( I also tried it on a system with Drupal 6.15 installed )
Apache 2
Mysql 5
PHP 5
Comments
Comment #1
hunmonk CreditAttribution: hunmonk commentedplease try disabling all other contributed modules and see if the problem still persists.
Comment #2
h3000 CreditAttribution: h3000 commentedhi,
I tried installing it on a basic installation of Drupal 6 with no other contrib modules installed. the problem is still there. I created a new user account (non admin) and then set the protection defaults to protect email editing and then tried changing the email address when logged in as the non-admin user. I was still able to change the email address.
The following are the details of the new setup:
Drupal 6.19 (basic installation)
Only Core modules enabled
User Protect 6.x-1.4
Thanks.
Comment #3
hunmonk CreditAttribution: hunmonk commentedare you trying to edit the email as a user admin, or as the user themselves? the user is able to edit their own email unless the userprotect permission 'change own e-mail' is disabled.
pretty sure this is your issue. feel free to reopen if not.
Comment #4
h3000 CreditAttribution: h3000 commentedthat was it. its working now.
thanks!