kopia lustrzana https://github.com/c9/core
implement proper account blocking
rodzic
955c6bb566
commit
4d15d812bc
|
@ -206,6 +206,9 @@ define(function(require, exports, module) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (err.code == 403) {
|
else if (err.code == 403) {
|
||||||
|
if (res.error.blocked)
|
||||||
|
callback(fatalError(res.error.message, "dashboard"));
|
||||||
|
|
||||||
// forbidden. User doesn't have access
|
// forbidden. User doesn't have access
|
||||||
// wait a while before trying again
|
// wait a while before trying again
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
|
Ładowanie…
Reference in New Issue