From af54393def311f6cae871e8ef7ae71e28e0ce2bf Mon Sep 17 00:00:00 2001 From: Arvind Date: Thu, 27 Jun 2013 18:22:42 +0530 Subject: [PATCH] API changes from sweet-authenticate, url to authenticate is a param --- alipi/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alipi/ui.js b/alipi/ui.js index 8efdfd8..0399df3 100644 --- a/alipi/ui.js +++ b/alipi/ui.js @@ -590,7 +590,7 @@ var a11ypi = { util.publish(); }, Authenticate: function() { - var reply = sweet.authenticate($("#auth-select").val(), $("#tar-pass").val()); + var reply = sweet.authenticate(config.sweet+"/authenticate", $("#auth-select").val(), $("#tar-pass").val()); if(reply === true) alert("authenticated"); } -- 1.7.10.4