lib/omniauth/strategies/remote_user.rb in omniauth-remote-user-0.0.4 vs lib/omniauth/strategies/remote_user.rb in omniauth-remote-user-0.0.5

- old
+ new

@@ -68,10 +68,10 @@ uid do request.env['HTTP_REMOTE_USER'] end info do - user_data = request.env['X_REMOTE_USER_DATA'] + user_data = request.env['HTTP_REMOTE_USER_DATA'] if user_data data = JSON.parse(user_data) data['nickname'] = uid data['firstname'] = data['name'].split()[0] data['lastname'] = data['name'].split()[1]