- Issue created by @eaajithe
- Status changed to Postponed: needs info
5 months ago 1:11am 29 July 2024 Thank you for reporting a bug. It is interesting.
Could you please update the issue summary with the steps to reproduce the bug on a newly-installed site? Email addresses are required in Drupal until β¨ Make email not required for a Drupal site account Active is done.
- π¦πΊAustralia eaajithe Melbourne
Hi @cilefen
Thank you so much for the prompt request to provide details on the issue.
1) The site is not a newly-installed site
2) It had been upgraded to Drupal 10 from Drupal 9 more than a year ago
3) One of users requested the admin to reset her password (as forgot password email is not working)
4) She was using the account without any issues about a month ago
5) When the admin is about to reset her password, he noticed that the email field is empty, and it is no longer a required field
Site has few password/login related modules including Password Policy (which set password expiration, length, character types) etc. - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Email has been optional for some time from memory
- π¨π·Costa Rica yuvania
Hi @eaajithe,
What an interesting issue! Based on your description, here are a few steps that might help resolve it:
- Field Configuration: Ensure the email field is set as required in the user entity field settings. Sometimes configurations might change during upgrades.
- Module Interference: Check if modules like "Password Policy" or others affecting user profiles are causing the issue. Temporarily disable them to test.
- Permissions: Verify user roles have the necessary permissions to edit and view the email field.
- Update Hooks: Confirm all update hooks have run correctly after upgrading from Drupal 9 to Drupal 10.
- Form Display: Check the form display settings to ensure the email field is included.
These steps should help identify the root cause.
Hope this helps!
- π³πΏNew Zealand quietone
Changes are made on 11.x first, then backported.
- Status changed to Needs work
5 months ago 1:28am 1 August 2024 - πΊπΈUnited States dww
Is this not duplicate with π Email Address should be a required field in the "Add User" form Needs work ?
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
- πΊπΈUnited States dww