diff --git a/weaver/main.go b/weaver/main.go index f4ebb436..d8c2d855 100644 --- a/weaver/main.go +++ b/weaver/main.go @@ -149,7 +149,7 @@ func main() { func handleHttp(router *weave.Router) { encryption := "off" - if router.Password != nil { + if router.UsingPassword() { encryption = "on" } http.HandleFunc("/status", func(w http.ResponseWriter, r *http.Request) {