Commit af54393def311f6cae871e8ef7ae71e28e0ce2bf
API changes from sweet-authenticate, url to authenticate is a param
| | | | 590 | util.publish(); | 590 | util.publish(); |
---|
591 | }, | 591 | }, |
---|
592 | Authenticate: function() { | 592 | Authenticate: function() { |
---|
593 | var reply = sweet.authenticate($("#auth-select").val(), $("#tar-pass").val()); | | var reply = sweet.authenticate($("#auth-select").val(), $("#tar-pass").val()); |
---|
| | 593 | var reply = sweet.authenticate(config.sweet+"/authenticate", $("#auth-select").val(), $("#tar-pass").val()); | 594 | if(reply === true) | 594 | if(reply === true) |
---|
595 | alert("authenticated"); | 595 | alert("authenticated"); |
---|
596 | } | 596 | } |
---|