feat(auth): login/logout/change-password routes + pages

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-17 19:31:31 +00:00
parent 2879abb355
commit 41ab900c33
5 changed files with 283 additions and 0 deletions
+3
View File
@@ -95,6 +95,9 @@ async def add_environment_to_context(request: Request, call_next):
from backend.operator_auth import operator_gate
app.middleware("http")(operator_gate)
from backend.routers import operator_auth_routes
app.include_router(operator_auth_routes.router)
# Override TemplateResponse to include environment and version in context
original_template_response = templates.TemplateResponse
def custom_template_response(name, context=None, *args, **kwargs):