DEV: Apply rubocop

This commit is contained in:
David Taylor 2018-10-22 20:13:46 +01:00
parent 9f48759517
commit 9ad5050143
1 changed files with 1 additions and 2 deletions

View File

@ -86,7 +86,7 @@ class OAuth2BasicAuthenticator < ::Auth::OAuth2Authenticator
user_json_response =
if user_json_method.downcase.to_sym == :post
Net::HTTP
.post_form(URI(user_json_url), { 'Authorization' => bearer_token })
.post_form(URI(user_json_url), 'Authorization' => bearer_token)
.body
else
open(user_json_url, 'Authorization' => bearer_token).read
@ -156,7 +156,6 @@ auth_provider title_setting: "oauth2_button_title",
message: "OAuth2",
full_screen_login_setting: "oauth2_full_screen_login"
register_css <<CSS
button.btn-social.oauth2_basic {