restrict v1
This commit is contained in:
@@ -287,6 +287,8 @@ func New() *flamego.Flame {
|
||||
// 账号停用成功页(公开):停用后会话已清空,不能再要求登录,
|
||||
// 故为独立公开页,让用户明确看到「已停用」而非被丢回登录页。
|
||||
f.Get("/deactivated", user.DeactivatedProfile)
|
||||
// 处置停用页(L4):必须注册在公开区,被处置箱主自己也只能看到这一页。
|
||||
f.Get("/restricted", user.RestrictedProfile)
|
||||
|
||||
// 匿名投票参与端(公开):token 链接入口
|
||||
f.Group("/vote/{token}", func() {
|
||||
|
||||
Reference in New Issue
Block a user