FIX code bug

This commit is contained in:
Jasder
2020-10-15 17:04:42 +08:00
parent 0c2c917c7f
commit 6456a0f90c

View File

@@ -112,7 +112,7 @@ module Ci::CloudAccountManageable
conn = Faraday.new(url: grant_url) do |req|
req.request :url_encoded
req.adapter Faraday.default_adapter
req.basic_auth(username, password)
req.basic_auth(current_user.login, password)
end
response = conn.get