mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-05 12:16:45 +02:00
reduced the httpAuth timeout to 1000ms
This commit is contained in:
parent
a4eef2780e
commit
8a6704beef
@ -168,7 +168,7 @@ async.waterfall([
|
||||
if (req.headers.authorization) {
|
||||
setTimeout(function () {
|
||||
res.send('Authentication required', 401);
|
||||
}, 5000);
|
||||
}, 1000);
|
||||
} else {
|
||||
res.send('Authentication required', 401);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user