diff --git a/salt/utils/http.py b/salt/utils/http.py index 9508ec8a9d..1b0f369bd7 100644 --- a/salt/utils/http.py +++ b/salt/utils/http.py @@ -311,8 +311,6 @@ def query(url, urllib_request.HTTPHandler, urllib_request.HTTPCookieProcessor(sess_cookies) ] - if password_mgr: - handlers.append(urllib_request.HTTPBasicAuthHandler(password_mgr)) if url.startswith('https') or port == 443: hostname = request.get_host()