Commit af54393def311f6cae871e8ef7ae71e28e0ce2bf

  • avatar
  • Arvind <arvinkhadri @gm…l.com>
  • Thu Jun 27 18:22:42 IST 2013
API changes from sweet-authenticate, url to authenticate is a param
  • Diff rendering mode:
  • inline
  • side by side

alipi/ui.js

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());
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 }