Commit Graph

2 Commits

Author SHA1 Message Date
Hamit Şimşek
22c747f14a Implement location tracking and suspicious login detection
- 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.
2025-05-30 00:34:17 +03:00
Hamit Şimşek
ebd7dcc23b Base scripts and templates added 2025-05-30 00:07:07 +03:00