Skip to content

Node.js based forum software built for the modern web

remvoed the timeout on the login call

Baris Soner Usaklia940219321c9
diff --git a/public/src/forum/login.js b/public/src/forum/login.js
index 7ab435b93f..9dca615a75 100644
--- a/public/src/forum/login.js
+++ b/public/src/forum/login.js
@@ -1,7 +1,7 @@
define(function() {
var Login = {};
- Login.init = function() {
+ Login.init = function() {
$('#login').on('click', function() {
var loginData = {
'username': $('#username').val(),
@@ -40,8 +40,7 @@ define(function() {
$('#login').removeAttr('disabled').html('Login');
},
dataType: 'json',
- async: true,
- timeout: 2000
+ async: true
});
return false;