summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-03-04 17:36:28 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2010-03-04 17:36:28 -0800
commitea4463b29dc05d5ff715a80289bbe51d0e420c81 (patch)
tree91835e80ed11f0fe626e98887def053dc17e09f4
parenta314d32b89730518f5c9eea1903da8a395b48e15 (diff)
downloadDotNetOpenAuth-ea4463b29dc05d5ff715a80289bbe51d0e420c81.zip
DotNetOpenAuth-ea4463b29dc05d5ff715a80289bbe51d0e420c81.tar.gz
DotNetOpenAuth-ea4463b29dc05d5ff715a80289bbe51d0e420c81.tar.bz2
Removed hard-coded path to discovery callback.
-rw-r--r--projecttemplates/MvcRelyingParty/Views/Account/LogOn.aspx2
1 files changed, 1 insertions, 1 deletions
diff --git a/projecttemplates/MvcRelyingParty/Views/Account/LogOn.aspx b/projecttemplates/MvcRelyingParty/Views/Account/LogOn.aspx
index d11ffaf..bdc5411 100644
--- a/projecttemplates/MvcRelyingParty/Views/Account/LogOn.aspx
+++ b/projecttemplates/MvcRelyingParty/Views/Account/LogOn.aspx
@@ -70,7 +70,7 @@
dataType: "text",
error: function (request, status, error) { errorCallback(status, argument); },
success: function (result) { resultFunction(result, argument); },
- url: 'http://localhost:18916/Account/Discover?identifier=' + escape(argument)
+ url: '<%= Url.Action("Discover") %>?identifier=' + encodeURIComponent(argument)
});
};
window.dnoa_internal.callback = function (argument, resultFunction, errorCallback) {