mirror of
https://github.com/lightningcell/flask-2fa-auth.git
synced 2026-05-26 07:08:07 +00:00
- Added `track_login_location` function to monitor user login locations. - Introduced `LoginLocation` model to store login details including IP and geolocation. - Created `LocationApprovalToken` model for managing location approval tokens. - Enhanced OTP verification to include location tracking and alerts for suspicious logins. - Implemented email notifications for suspicious login attempts and location approvals. - Added `login_history` route to display user's login activity. - Updated templates for login history and email notifications. - Configured mail settings and added dependencies for email functionality. - Introduced utility classes for mail and location services.
15 lines
252 B
Plaintext
15 lines
252 B
Plaintext
Flask>=2.3.0
|
|
Flask-Login>=0.6.3
|
|
Flask-WTF>=1.2.1
|
|
Flask-SQLAlchemy>=3.1.1
|
|
Flask-Migrate>=4.0.5
|
|
Flask-Mail>=0.9.1
|
|
SQLAlchemy>=2.0.0
|
|
PyOTP>=2.9.0
|
|
bcrypt>=4.1.2
|
|
qrcode[pil]>=7.4.2
|
|
python-dotenv>=1.0.0
|
|
WTForms>=3.1.0
|
|
requests>=2.31.0
|
|
email-validator>=2.1.0
|