fix deactivate
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user