mirror of
https://github.com/NaN-tic/sao-base.git
synced 2023-12-14 03:13:01 +01:00
NotLogged exception is now 403
issue5415 review17161002
This commit is contained in:
parent
048b3c4986
commit
e4d55bbd55
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@
|
|||
'glyphicon-alert').always(dfd.reject);
|
||||
return;
|
||||
}
|
||||
} else if (data.error[0] == 'NotLogged') {
|
||||
} else if (data.error[0].startswith('403')) {
|
||||
//Try to relog
|
||||
Sao.Session.renew(session).then(function() {
|
||||
Sao.rpc(args, session).then(dfd.resolve, dfd.reject);
|
||||
|
|
Loading…
Reference in a new issue