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 -e git://github.com/Nim65s/django-YummyEmailOrUsernameInsensitiveAuth.git#egg=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.10, & 1.11
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.0.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for django_yeouia-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4d8d57d7fcc5f4beeaa17cf95b361390ccbc8df804fdaff8ea97f48b6a482c8 |
|
MD5 | 276a1accd0f2fe58b38b29fc0b1ef0bd |
|
BLAKE2b-256 | 6ca292e36ed99d8d6116223b55adc7c177141f70fef8fd3ef2b7f20e8637c073 |