Description:
Currently, Djoser treats email addresses as case-sensitive during user registration and authentication. Since most email providers (like Gmail) consider email addresses case-insensitive, it would be great if Djoser could automatically normalize email addresses to lowercase before validating them.
Suggested Solution:
It would be useful to either:
Automatically convert email addresses to lowercase when a user registers or logs in.
Provide a configurable option (e.g., CASE_INSENSITIVE_EMAIL = True) to enable case-insensitive email validation.
This would improve user experience by ensuring that emails like User@Example.com and user@example.com are treated as the same.
Benefits:
Better user experience by avoiding issues with email case mismatches.
Aligns with how most email providers handle email addresses.
Thanks for considering this feature!
Description:
Currently, Djoser treats email addresses as case-sensitive during user registration and authentication. Since most email providers (like Gmail) consider email addresses case-insensitive, it would be great if Djoser could automatically normalize email addresses to lowercase before validating them.
Suggested Solution:
It would be useful to either:
Automatically convert email addresses to lowercase when a user registers or logs in.
Provide a configurable option (e.g., CASE_INSENSITIVE_EMAIL = True) to enable case-insensitive email validation.
This would improve user experience by ensuring that emails like User@Example.com and user@example.com are treated as the same.
Benefits:
Better user experience by avoiding issues with email case mismatches.
Aligns with how most email providers handle email addresses.
Thanks for considering this feature!