Skip to content

Commit

Permalink
Fix basic auth for older version
Browse files Browse the repository at this point in the history
  • Loading branch information
alejndr0 committed May 30, 2024
1 parent 849b28c commit f586f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/octokit/manage_ghes_client/manage_ghes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def authenticated_client
elsif basic_authenticated?
username = @manage_ghes_username
end
c.request :authorization, :basic, username, @manage_ghes_password
c.request(*FARADAY_BASIC_AUTH_KEYS, username, @manage_ghes_password)

# Disabling SSL is essential for certain self-hosted Enterprise instances
c.ssl[:verify] = false if connection_options[:ssl] && !connection_options[:ssl][:verify]
Expand Down

0 comments on commit f586f54

Please sign in to comment.