coldbrew/pyproject.toml
Kumi 5e202ac58d
feat(auth): implement two-factor authentication
Added Two-Factor Authentication (2FA) using django-otp and django-two-factor-auth along with support for custom user models. Introduced necessary settings, middleware, and URL patterns to support 2FA. Updated dependencies in pyproject.toml and poetry.lock.

- Included `django_otp` and `two_factor` modules.
- Configured custom user model with email as the primary identifier.
- Added new migrations and models for CustomUser.
- Incorporated login templates for two-factor authentication.
- Enabled two-factor login URLs and middleware.

This enhancement strengthens account security by requiring a second authentication factor.
2024-07-12 09:47:23 +02:00

56 lines
1.2 KiB
TOML

[tool.poetry]
name = "coldbrew"
version = "0.0.1"
description = ""
authors = ["Private.coffee Team <support@private.coffee>"]
license = "MIT"
readme = "README.md"
homepage = "https://private.coffee"
repository = "https://git.private.coffee/PrivateCoffee/coldbrew"
[tool.poetry.dependencies]
python = "^3.10"
django = "^5.0"
djangorestframework = "*"
django-storages = "*"
django-polymorphic = "*"
setuptools = "*"
pillow = "*"
pygments = "*"
markdown = "*"
coreapi = "*"
pyyaml = "*"
django-autosecretkey = "*"
celery = "*"
redis = "*"
django-celery-results = "*"
django-celery-beat = "*"
drf-spectacular = {extras = ["sidecar"], version = "*"}
boto3 = "*"
argon2-cffi = "*"
django-csp = "*"
django-rest-polymorphic = "*"
django-crispy-forms = "*"
crispy-bootstrap5 = "*"
django-encrypted-model-fields = "*"
django-otp = "^1.5.0"
django-two-factor-auth = "^1.16.0"
phonenumbers = "^8.13.40"
[tool.poetry.group.mysql.dependencies]
mysqlclient = "*"
[tool.poetry.group.postgres.dependencies]
psycopg2 = "*"
[tool.poetry.dev-dependencies]
pytest = "^5.2"
ruff = "*"
black = "*"
[tool.poetry.scripts]
quackscape-manage = "quackscape.manage:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"