mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-01 20:42:19 +08:00
Uncaught (in promise) TypeError: oData is undefined
This commit is contained in:
parent
d85cc9a79f
commit
51d9c3adbb
1 changed files with 2 additions and 1 deletions
|
@ -122,7 +122,8 @@ class LoginUserView extends AbstractViewCenter {
|
|||
if (Notification.InvalidInputArgument == iError) {
|
||||
iError = Notification.AuthError;
|
||||
}
|
||||
this.submitError(getNotification(iError, oData.ErrorMessage, Notification.UnknownNotification));
|
||||
this.submitError(getNotification(iError, (oData ? oData.ErrorMessage : ''),
|
||||
Notification.UnknownNotification));
|
||||
this.submitErrorAddidional((oData && oData.ErrorMessageAdditional) || '');
|
||||
} else {
|
||||
rl.route.reload();
|
||||
|
|
Loading…
Reference in a new issue