From 6067e021c42498e0f96ab9ac33778e8d2893adf2 Mon Sep 17 00:00:00 2001 From: Lloyd Hilaiel <lloyd@hilaiel.com> Date: Wed, 13 Apr 2011 18:35:47 -0600 Subject: [PATCH] tweak jquery ajax post parameters to actually get the (fake) assertion up to the RP --- rp/static/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rp/static/index.html b/rp/static/index.html index 65ee4d16c..33407ce71 100644 --- a/rp/static/index.html +++ b/rp/static/index.html @@ -86,7 +86,8 @@ an example app that uses Mozilla ID for an awesome login experience. $.ajax({ url: '/login', - data: JSON.stringify(assertion), + type: "post", + data: assertion, success: function(data, textStatus, jqXHR) { // we've got a response from the server half of the mywords // application which has validated the assertion -- GitLab