CheckDefaultLogin set with timeout to 5 seconds
This commit is contained in:
parent
c19557c236
commit
00cec005cd
|
@ -570,6 +570,7 @@ CheckDefaultLogin = function(sig) {
|
||||||
data: JSON.stringify(ajax_data),
|
data: JSON.stringify(ajax_data),
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
|
timeout: 5000, // sets timeout to 5 seconds
|
||||||
url: url
|
url: url
|
||||||
}).done(function(data) {
|
}).done(function(data) {
|
||||||
// If successful
|
// If successful
|
||||||
|
|
Loading…
Reference in New Issue