Make email addresses case insensitive
Description
Similar to #876 , email addresses are also case sensitive, which makes password resets only possible if you know the right lettering
Steps to Reproduce
- create a new user account
test@test.org
- create a new user account
Test@test.org
Expected behaviour:
it would be the same account and i get an error that the user already exists.
Actual behaviour:
i have two accounts.
Reproduces how often:
always
Versions
3.0.1
Additional Information
wj@mobilizon:/opt/mobilizon$ sudo -u mobilizon ./bin/mobilizon_ctl users.new "test@test.org"
An user has been created with the following information:
- email: test@test.org
- password: REDACTED
- Role: user
The user will be prompted to create a new profile after login for the first time.
wj@mobilizon:/opt/mobilizon$ sudo -u mobilizon ./bin/mobilizon_ctl users.new "Test@test.org"
An user has been created with the following information:
- email: Test@test.org
- password: REDACTED
- Role: user