mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
implement proper account blocking
This commit is contained in:
parent
955c6bb566
commit
4d15d812bc
@ -206,6 +206,9 @@ define(function(require, exports, module) {
|
||||
return;
|
||||
}
|
||||
else if (err.code == 403) {
|
||||
if (res.error.blocked)
|
||||
callback(fatalError(res.error.message, "dashboard"));
|
||||
|
||||
// forbidden. User doesn't have access
|
||||
// wait a while before trying again
|
||||
setTimeout(function() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user