2
1
mirror of https://github.com/Thream/socketio-jwt.git synced 2024-07-21 09:38:31 +02:00
This commit is contained in:
José F. Romaniello 2014-02-07 11:11:14 -02:00
parent b8e64a2c17
commit 8e567b90a5

View File

@ -46,8 +46,8 @@
$('#login').submit(function (e) { $('#login').submit(function (e) {
e.preventDefault(); e.preventDefault();
var username = $('username').val(); var username = $('#username').val();
var password = $('password').val(); var password = $('#password').val();
$.ajax({ $.ajax({
type: 'POST', type: 'POST',
data: { data: {