Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
case insensitive management for email address #24117
Pull Request for Issue #24095 .
Summary of Changes
use lower() to check user email
detected as the different email address even on db's like Postgresql
mysql < 5.7 don't support function based index ... iirc
Thanks a lot for your help.
But There is also another file where exists a email comparaison:
Could you please add the correction to thoses files @alikon
you can test with https://docs.joomla.org/Component_Patchtester_for_Testers
@mdaoudi123 please mark as tested on https://issues.joomla.org/tracker/joomla-cms/24117
I have tested this item
On MySQL it does not break anything.
On PostgreSQL it checks now for present email address in case-insensitive way without touching existing user data.
Tested as follows:
Pre-conditions: In Global configuration, set error reporting to maximum or development and watch the PHP error logs during the tests. Check that there are no errors reported.
@alikon Could you update your testing instructions to what I wrote here above so other users can test more easily?
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24117.
@mdaoudi123 Sorry for the inconvenience.
Could you test this PR again with its latest changes?
And then mark your test result at the issue tracker here https://issues.joomla.org/tracker/joomla-cms/24117, using the "Test this" button at the top left corner? Then just select the appropriate result and submitt.