chore: unify education management naming

This commit is contained in:
Codex
2026-06-15 12:38:25 +08:00
parent 5112f7ab4e
commit 41452bcd73
13 changed files with 40 additions and 36 deletions
+2 -2
View File
@@ -241,7 +241,7 @@ def login_page(
return RedirectResponse(url=next_path, status_code=status.HTTP_303_SEE_OTHER)
return HTMLResponse(
render_login_page(
title="新时空教务管",
title="新时空教务管理系统",
action="/login",
next_path=next_path,
has_error=has_error,
@@ -260,7 +260,7 @@ async def login_submit(request: Request):
response = RedirectResponse(url=next_path, status_code=status.HTTP_303_SEE_OTHER)
response.set_cookie(
RECORDS_SESSION_COOKIE,
session_token(records_password, b"xsk-records-web-session-v1"),
session_token(records_password, b"xsk-education-management-records-session-v1"),
max_age=SESSION_MAX_AGE,
httponly=True,
samesite="lax",