DEV: Apply rubocop
This commit is contained in:
parent
9f48759517
commit
9ad5050143
|
@ -86,7 +86,7 @@ class OAuth2BasicAuthenticator < ::Auth::OAuth2Authenticator
|
||||||
user_json_response =
|
user_json_response =
|
||||||
if user_json_method.downcase.to_sym == :post
|
if user_json_method.downcase.to_sym == :post
|
||||||
Net::HTTP
|
Net::HTTP
|
||||||
.post_form(URI(user_json_url), { 'Authorization' => bearer_token })
|
.post_form(URI(user_json_url), 'Authorization' => bearer_token)
|
||||||
.body
|
.body
|
||||||
else
|
else
|
||||||
open(user_json_url, 'Authorization' => bearer_token).read
|
open(user_json_url, 'Authorization' => bearer_token).read
|
||||||
|
@ -156,7 +156,6 @@ auth_provider title_setting: "oauth2_button_title",
|
||||||
message: "OAuth2",
|
message: "OAuth2",
|
||||||
full_screen_login_setting: "oauth2_full_screen_login"
|
full_screen_login_setting: "oauth2_full_screen_login"
|
||||||
|
|
||||||
|
|
||||||
register_css <<CSS
|
register_css <<CSS
|
||||||
|
|
||||||
button.btn-social.oauth2_basic {
|
button.btn-social.oauth2_basic {
|
||||||
|
|
Loading…
Reference in New Issue