Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/auth/otp/strategies/forti_token_cloud.rb')
-rw-r--r--lib/gitlab/auth/otp/strategies/forti_token_cloud.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/auth/otp/strategies/forti_token_cloud.rb b/lib/gitlab/auth/otp/strategies/forti_token_cloud.rb
index 079d631e22a..7ef8a1076f4 100644
--- a/lib/gitlab/auth/otp/strategies/forti_token_cloud.rb
+++ b/lib/gitlab/auth/otp/strategies/forti_token_cloud.rb
@@ -35,7 +35,7 @@ module Gitlab
end
def access_token
- Gitlab::Json.parse(access_token_create_response)['access_token']
+ Gitlab::Json.parse(access_token_create_response.body)['access_token']
end
def verify_otp(otp_code)