FIX: Use default frame size for Instagram login

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

diff --git a/lib/discourse.rb b/lib/discourse.rb
index eeb8d2a..f6d30ca 100644
--- a/lib/discourse.rb
+++ b/lib/discourse.rb
@@ -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

GitHub sha: 01dd96d1

2 Likes