Skip to main content

Yummy Email Or Username Insensitive Auth model backend for Django

Project description

Yummy Email Or Username Insensitive Auth model backend for Django

PyPI version Tests pre-commit.ci status codecov Maintainability Code style: black

Instructions

  1. pip install yeouia
  2. Add AUTHENTICATION_BACKENDS = ['yeouia.backends.YummyEmailOrUsernameInsensitiveAuth'] to your settings.py
  3. 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:

  1. username, case sensitive
  2. username, case insensitive
  3. email, case insensitive

And follows #20760.

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yeouia-4.0.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

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

Hashes for yeouia-4.0.0.tar.gz
Algorithm Hash digest
SHA256 5b89d805dbd8dc3e209e87f9abe1465043175233cc689ddda858d392d929f2fa
MD5 592593d992d8ec747cc88fe17cc47932
BLAKE2b-256 6657cfd56b520c90369abdba6c8f15cee74bbab24d58d669d703034e3292434c

See more details on using hashes here.

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

Hashes for yeouia-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e81ad0535cfa825d1c35cb95c927688cbd07b59a0b4f20aa0307ee8b72761d0c
MD5 49069126114656c15ccdb3f313394012
BLAKE2b-256 093ac24f2ebdc8b8fd19fb494dd6f53cfa079b78d9c761c438d0804e8cd7d504

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page