Yummy Email Or Username Insensitive Auth model backend for Django
Project description
Yummy Email Or Username Insensitive Auth model backend for Django
Instructions
pip install yeouia
- Add
AUTHENTICATION_BACKENDS = ['yeouia.backends.YummyEmailOrUsernameInsensitiveAuth']
to yoursettings.py
- Enjoy
Requirements
Tested for
- Python 3.8, 3.9, 3.10
- Django 2.2+
May work otherwise, but you should run tests :P
Case Insensitive ?
Django's default auth username is not case insensitive. (See #2273 and #25617)
But… Who cares ?
This backend tries:
- username, case sensitive
- username, case insensitive
- email, case insensitive
And follows #20760.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yeouia-4.0.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
yeouia-4.0.0-py3-none-any.whl
(4.5 kB
view hashes)