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.
Metadata
Release files for yeouia 4.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yeouia-4.0.0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yeouia-4.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / yeouia-4.0.0.tar.gz
| Download URL | yeouia-4.0.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b89d805dbd8dc3e209e87f9abe1465043175233cc689ddda858d392d929f2fa
|
|
BLAKE2b-256 checksum How to use checksums |
6657cfd56b520c90369abdba6c8f15cee74bbab24d58d669d703034e3292434c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.8.10 Linux/5.15.0-1020-azure
|
Release files / yeouia-4.0.0-py3-none-any.whl
| Download URL | yeouia-4.0.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e81ad0535cfa825d1c35cb95c927688cbd07b59a0b4f20aa0307ee8b72761d0c
|
|
BLAKE2b-256 checksum How to use checksums |
093ac24f2ebdc8b8fd19fb494dd6f53cfa079b78d9c761c438d0804e8cd7d504
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.8.10 Linux/5.15.0-1020-azure
|