fix deactivate

This commit is contained in:
tamakyi
2026-09-15 12:10:42 +08:00
parent adcc42cc8c
commit 0e0c16f786
9 changed files with 95 additions and 9 deletions
+4
View File
@@ -284,6 +284,10 @@ func New() *flamego.Flame {
f.Get("/explore", user.Explore)
// 账号停用成功页(公开):停用后会话已清空,不能再要求登录,
// 故为独立公开页,让用户明确看到「已停用」而非被丢回登录页。
f.Get("/deactivated", user.DeactivatedProfile)
// 匿名投票参与端(公开):token 链接入口
f.Group("/vote/{token}", func() {
f.Get("", vote.Page)