fix: enforce required auth middleware

This commit is contained in:
2026-01-13 10:36:48 +08:00
parent 2a670b3a78
commit 56e60e0972
2 changed files with 22 additions and 5 deletions

View File

@@ -7,6 +7,6 @@ func (r *Routes) Path() string {
func (r *Routes) Middlewares() []any {
return []any{
r.middlewares.TenantResolver,
r.middlewares.Auth,
r.middlewares.AuthRequired,
}
}