From 5bdaaca84845b181f39182438d1a51853cfb4011 Mon Sep 17 00:00:00 2001
From: Rafael dos Santos Silva <xfalcox@gmail.com>
Date: Wed, 28 Sep 2016 12:49:22 -0300
Subject: [PATCH] Make it square!

---
 lib/auth/facebook_authenticator.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/auth/facebook_authenticator.rb b/lib/auth/facebook_authenticator.rb
index e68aabb3df8..70f3c3bfd79 100644
--- a/lib/auth/facebook_authenticator.rb
+++ b/lib/auth/facebook_authenticator.rb
@@ -1,6 +1,6 @@
 class Auth::FacebookAuthenticator < Auth::Authenticator
 
-  AVATAR_HEIGHT = 480
+  AVATAR_SIZE = 480
 
   def name
     "facebook"
@@ -135,7 +135,7 @@ class Auth::FacebookAuthenticator < Auth::Authenticator
   end
 
   def add_avatar_parameters(avatar_url)
-    "#{avatar_url}?height=#{AVATAR_HEIGHT}"
+    "#{avatar_url}?height=#{AVATAR_SIZE}&width=#{AVATAR_SIZE}"
   end
 
 end