quantum-ai-v3/authentication/urls.py
Claude d36cf9a79d Fix email URLs to use Railway domain instead of localhost
- Add SITE_URL configuration that auto-detects Railway environment
- Update forgot password view to use correct site URL in emails
- Ensure password reset links work on both local and Railway deployments

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 13:11:06 +05:30

13 lines
496 B
Python

from django.urls import path
from . import views
app_name = 'authentication'
urlpatterns = [
path('login/', views.login_view, name='login'),
path('register/', views.register_view, name='register'),
path('logout/', views.logout_view, name='logout'),
path('profile/', views.profile_view, name='profile'),
path('forgot-password/', views.forgot_password_view, name='forgot_password'),
path('reset-password/<uuid:token>/', views.reset_password_view, name='reset_password'),
]