FIX: Use default frame size for Instagram login

I don't know why this was set to 1x1 pixels, but it shouldn't have been
This commit is contained in:
David Taylor 2019-03-19 18:57:57 +00:00 committed by GitHub
parent ac4470cd56
commit 01dd96d178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ module Discourse
Auth::AuthProvider.new(authenticator: Auth::OpenIdAuthenticator.new("yahoo", "https://me.yahoo.com", 'enable_yahoo_logins', trusted: true)),
Auth::AuthProvider.new(authenticator: Auth::GithubAuthenticator.new),
Auth::AuthProvider.new(authenticator: Auth::TwitterAuthenticator.new),
Auth::AuthProvider.new(authenticator: Auth::InstagramAuthenticator.new, frame_width: 1, frame_height: 1)
Auth::AuthProvider.new(authenticator: Auth::InstagramAuthenticator.new)
]
def self.auth_providers