mirror of
https://github.com/tinyauthapp/tinyauth.git
synced 2026-08-27 07:43:31 +08:00
fix(acls): auth bypass via forward auth
This commit is contained in:
@@ -61,6 +61,14 @@ func CreateTestConfigs(t *testing.T) (model.Config, model.RuntimeConfig) {
|
||||
Allow: "/allowed",
|
||||
},
|
||||
},
|
||||
"app_path_block": {
|
||||
Config: model.AppConfig{
|
||||
Domain: "path-block.example.com",
|
||||
},
|
||||
Path: model.AppPath{
|
||||
Block: "/blocked",
|
||||
},
|
||||
},
|
||||
"app_user_allow": {
|
||||
Config: model.AppConfig{
|
||||
Domain: "user-allow.example.com",
|
||||
|
||||
Reference in New Issue
Block a user