Commit 1c9c6c3260a3077020b53c49f9352a93d72330da

Authored by Thiago Ribeiro
1 parent 4fe4ce8b

Change deprecated name header _X_ .

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/omniauth/strategies/remote_user.rb
... ... @@ -70,7 +70,7 @@ module OmniAuth
70 70 end
71 71  
72 72 info do
73   - user_data = request.env['X_REMOTE_USER_DATA']
  73 + user_data = request.env['HTTP_REMOTE_USER_DATA']
74 74 if user_data
75 75 data = JSON.parse(user_data)
76 76 data['nickname'] = uid
... ...