feat: multi-login(disable) fixed
This commit is contained in:
@ -37,6 +37,8 @@ func initApp(ctx context.Context) *nf.App {
|
||||
api.Get("/auth/login", auth.NewAuth(), handler.AuthVerify)
|
||||
api.Post("/auth/logout", auth.NewAuth(), oplog.NewOpLog(ctx), handler.AuthLogout)
|
||||
|
||||
api.Post("/update", auth.NewAuth(), handler.UserUpdate)
|
||||
|
||||
mng := api.Group("/manage")
|
||||
mng.Use(auth.NewAuth(), privilege.Verify(
|
||||
privilege.RelationAnd,
|
||||
|
Reference in New Issue
Block a user