Revert "feat: header based acls (#337)" (#340)

This reverts commit f0d2da281a.
This commit is contained in:
Stavros
2025-09-03 12:12:18 +03:00
committed by GitHub
parent f0d2da281a
commit f3eb7f69b4
10 changed files with 51 additions and 355 deletions

View File

@@ -1,19 +0,0 @@
package decoders
import (
"tinyauth/internal/config"
"github.com/traefik/paerser/parser"
)
func DecodeLabels(labels map[string]string) (config.AppConfigs, error) {
var appLabels config.AppConfigs
err := parser.Decode(labels, &appLabels, "tinyauth", "tinyauth.apps")
if err != nil {
return config.AppConfigs{}, err
}
return appLabels, nil
}