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) {
|
||||
e.preventDefault();
|
||||
var username = $('username').val();
|
||||
var password = $('password').val();
|
||||
var username = $('#username').val();
|
||||
var password = $('#password').val();
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
data: {
|
||||
@ -62,4 +62,4 @@
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user