feat: SSR 个人闭环(profile / user / favorites)

登录用户可改资料与头像、浏览收藏;公开主页不含邮箱;改密吊销并重建本端 session。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-29 05:53:56 +08:00
parent fde5f628ec
commit 126e3bae98
19 changed files with 599 additions and 20 deletions

View File

@@ -66,6 +66,9 @@ var parseGlobs = []string{
"status/*.tmpl",
"auth/*.tmpl",
"admin/*.tmpl",
"profile/*.tmpl",
"user/*.tmpl",
"favorites/*.tmpl",
}
// Load 解析全部模板(进程内一次)