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 details)
Built Distribution
File details
Details for the file yeouia-4.0.0.tar.gz
.
File metadata
- Download URL: yeouia-4.0.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.8.10 Linux/5.15.0-1020-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b89d805dbd8dc3e209e87f9abe1465043175233cc689ddda858d392d929f2fa |
|
MD5 | 592593d992d8ec747cc88fe17cc47932 |
|
BLAKE2b-256 | 6657cfd56b520c90369abdba6c8f15cee74bbab24d58d669d703034e3292434c |
File details
Details for the file yeouia-4.0.0-py3-none-any.whl
.
File metadata
- Download URL: yeouia-4.0.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.8.10 Linux/5.15.0-1020-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e81ad0535cfa825d1c35cb95c927688cbd07b59a0b4f20aa0307ee8b72761d0c |
|
MD5 | 49069126114656c15ccdb3f313394012 |
|
BLAKE2b-256 | 093ac24f2ebdc8b8fd19fb494dd6f53cfa079b78d9c761c438d0804e8cd7d504 |