mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
FIX code bug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user