mirror of
https://github.com/Thream/socketio-jwt.git
synced 2024-07-21 09:38:31 +02:00
fix #3
This commit is contained in:
parent
b8e64a2c17
commit
8e567b90a5
@ -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: {
|
||||||
|
Loading…
Reference in New Issue
Block a user