From f624219cba2a50c8ac22ff0e059b02814f7f2ab4 Mon Sep 17 00:00:00 2001 From: Canglan Date: Mon, 2 Nov 2026 12:40:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E6=AC=A1=E7=99=BB=E5=BD=95=E6=94=B9?= =?UTF-8?q?=E5=AF=86=E5=BC=B9=E7=AA=97=E6=94=B9=E4=B8=BA=E6=8C=89=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E7=AB=AF=E6=A0=87=E8=AE=B0=E5=88=A4=E6=96=AD=EF=BC=8C?= =?UTF-8?q?=E9=81=BF=E5=85=8D=E6=97=A7=E6=9C=AC=E5=9C=B0=E6=A0=87=E8=AE=B0?= =?UTF-8?q?=E8=AF=AF=E5=BC=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 学生端/管理端首次登录弹窗改为调用 /api/auth/me 校验 need_change_password,不再只依赖 localStorage 旧值 2. 学生端首次登录改密已改用 init-passwd(无需原密码) --- frontend/includes/header.php | 16 +++++++++++++--- frontend/student/dashboard.php | 17 ++++++++++++++--- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/frontend/includes/header.php b/frontend/includes/header.php index 70b119d..0cf2942 100644 --- a/frontend/includes/header.php +++ b/frontend/includes/header.php @@ -131,9 +131,19 @@ $page_title = $page_title ?? '首页';