A Django auth backend that works with email or username
Project description
Yummy Email Or Username Insensitive Auth
model backend for Django
Instructions
pip install django-yeouia
Add AUTHENTICATION_BACKENDS = ['yeouia.backends.YummyEmailOrUsernameInsensitiveAuth'] to your settings.py
Enjoy
Requirements
Tested for
Python 2.7, 3.4, 3.5, 3.6
Django 1.11, 2.0
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
django-yeouia-1.1.1.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for django_yeouia-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f19f91188991a2f9c5949e7c855d9abfecddb18a86ecabf27556ba3016444fa9 |
|
MD5 | 73224523452a46bfb112e05fcb5f43cd |
|
BLAKE2b-256 | 5f2608ed069524c6b302f4c9e26dfebd145c3195c01694fc5e6d016652cbf3ed |