FIX code bug
This commit is contained in:
parent
0c2c917c7f
commit
6456a0f90c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue