Commit f93e23a71136461bdc4504c77b80e978e982fc50
- Diff rendering mode:
- inline
- side by side
static/sweet-authenticate.js
(2 / 2)
  | |||
1 | 1 | var sweet = { | |
2 | authenticate: function(user, hash){ | ||
3 | $.post("http://localhost:5001/authenticate",{"user":user, "hash":hash}, function(data){ | ||
2 | authenticate: function(url,user, hash){ | ||
3 | $.post(url,{"user":user, "hash":hash}, function(data){ | ||
4 | 4 | ||
5 | 5 | return true; | |
6 | 6 | }); |