Merge pull request +6643 from c9/block-user

Block user
c9
Fabian Jakobs 2015-03-20 15:44:41 +01:00
commit 1d6f6b05eb
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -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() {