diff --git a/client/web/auth.go b/client/web/auth.go index 3035a7d9a..696358f2b 100644 --- a/client/web/auth.go +++ b/client/web/auth.go @@ -190,7 +190,7 @@ func (s *Server) controlSupportsCheckMode(ctx context.Context) bool { if err != nil { return true } - controlURL, err := url.Parse(prefs.ControlURL) + controlURL, err := url.Parse(prefs.ControlURLOrDefault()) if err != nil { return true }