Skip to main content

Django app supporting email-based authentication.

Project description

django-email-auth

A simple Django app to authenticate users via email (or username).

Installation

  1. Add the package to the project in the usual way according to your project toolset (pip, poetry, pyenv, uv, etc.).
  2. Add the following to your INSTALLED_APPS setting:
INSTALLED_APPS = [
    ...
    'email_auth',
    ...
]
  1. Add the AUTHENTICATION_BACKENDS setting:
AUTHENTICATION_BACKENDS = [
    'django_email_auth.backend.EmailAuthBackend',
]

You can now use either your email OR username to log in.

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

django_email_auth_backend-1.0.0.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

django_email_auth_backend-1.0.0-py3-none-any.whl (10.7 kB view hashes)

Uploaded Python 3

Supported by

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