Revert "Add prompt and HD settings to the Google OAuth2 plugin."

This reverts commit f74d6bb605f0395f4cba5e69d3c32206ca7c39a8.
This commit is contained in:
Joffrey JAFFEUX
2018-02-22 19:17:02 +01:00
parent ca1fd774a1
commit 1c790ae6bc
2 changed files with 1 additions and 11 deletions

View File

@ -59,9 +59,7 @@ class Auth::GoogleOAuth2Authenticator < Auth::Authenticator
strategy.options[:client_id] = SiteSetting.google_oauth2_client_id
strategy.options[:client_secret] = SiteSetting.google_oauth2_client_secret
},
skip_jwt: true,
prompt: SiteSetting.google_oauth2_prompt,
hd: SiteSetting.google_oauth2_hd
skip_jwt: true
end
protected