From 70b287a053be849d34f47133f80023d2f9687bac Mon Sep 17 00:00:00 2001 From: Mark Biegel Date: Fri, 26 Feb 2016 11:37:48 +1000 Subject: [PATCH] Update instagram_authenticator.rb --- lib/auth/instagram_authenticator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/auth/instagram_authenticator.rb b/lib/auth/instagram_authenticator.rb index e510529bce1..ba2dd7f1bb0 100644 --- a/lib/auth/instagram_authenticator.rb +++ b/lib/auth/instagram_authenticator.rb @@ -13,7 +13,7 @@ class Auth::InstagramAuthenticator < Auth::Authenticator data = auth_token[:info] result.username = screen_name = data["nickname"] - result.name = name = data["name"] + result.name = name = data["name"].slice!(0) instagram_user_id = auth_token["uid"] result.extra_data = {