omniauth-gitlab 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -53,9 +53,12 @@ module OmniAuth
|
|
53
53
|
req.headers['Content-Type'] = 'application/json'
|
54
54
|
req.params = { :email => request['email'], :password => request['password'] }
|
55
55
|
end
|
56
|
-
resp.success? ? MultiJson.
|
56
|
+
resp.success? ? MultiJson.decode(resp.body) : nil
|
57
57
|
end
|
58
58
|
end
|
59
59
|
end
|
60
60
|
end
|
61
|
-
end
|
61
|
+
end
|
62
|
+
|
63
|
+
|
64
|
+
OmniAuth.config.add_camelization 'gitlab', 'GitLab'
|