Commit graph

2 commits

Author SHA1 Message Date
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
e1bf6b9901
feat: initialize project structure with core setup
Initial setup of the ColdBrew Django-based VPN manager project. Added basic project structure including core Django configurations and essential files:
- Added `.gitignore` to exclude unnecessary files from version control.
- Introduced `LICENSE` with MIT license.
- Created basic `README.md` with setup and contribution guidance.
- Configured Django project settings with auto-generated secrets.
- Implemented essential VPN management models, views, and admin settings.
- Integrated core dependencies like Django Rest Framework, Celery for task management, and Redis for caching.
- Added Poetry for dependency management along with necessary dependencies for development and database support.
2024-07-12 08:31:39 +02:00