Do not show error dialog on 404 during login
issue5837 review32541002
This commit is contained in:
1 parent
a3a3c64d23
commit
58d81d27f8
1 file changed
+2
@@ -239,6 +239,8 @@
|
||||
} else if (data.error) {
|
||||
if (data.error[0].startsWith('403')) {
|
||||
return this.run({}).then(dfd.resolve, dfd.reject);
|
||||
} else if (data.error[0].startsWith('404')) {
|
||||
dfd.reject();
|
||||
} else if (data.error[0] != 'LoginException') {
|
||||
Sao.common.error.run(data.error[0], data.error[1]);
|
||||
dfd.reject();
|
||||
|
||||
Reference in new issue
Block a user