diff --git a/internal/webserver/statemachine.go b/internal/webserver/statemachine.go index 3fafc6f4..3053d773 100644 --- a/internal/webserver/statemachine.go +++ b/internal/webserver/statemachine.go @@ -1,6 +1,7 @@ package webserver import ( + "log" "net/http" "strings" @@ -10,7 +11,9 @@ import ( func watchConfigChanges(serveMux *http.ServeMux) data.ConfigChangesFunc { return func(be data.BasicEvent[string], i int) { - if strings.HasPrefix(be.Key, "wag-config-authenticaton-") { + if strings.HasPrefix(be.Key, "wag-config-authentication-") { + + log.Println("authentication settings have changed, updating auth handlers") authenticators.SetRoutesFromMethods(serveMux) } } diff --git a/ui/templates/management/clustering.html b/ui/templates/management/clustering.html index e493151c..05eee91b 100755 --- a/ui/templates/management/clustering.html +++ b/ui/templates/management/clustering.html @@ -12,22 +12,6 @@