mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +03:00
Change handling of (token) errors due to #1706
This commit is contained in:
parent
02ea6c4359
commit
d00c953c88
25 changed files with 80 additions and 69 deletions
|
|
@ -54,7 +54,7 @@ export class IdentityPopupView extends AbstractViewPopup {
|
|||
identity.smimeKey(oData.Result.pkey);
|
||||
identity.smimeCertificate(oData.Result.x509);
|
||||
} else {
|
||||
this.submitError(oData.ErrorMessage);
|
||||
this.submitError(oData.message);
|
||||
}
|
||||
}, {
|
||||
name: identity.name(),
|
||||
|
|
@ -81,7 +81,7 @@ export class IdentityPopupView extends AbstractViewPopup {
|
|||
if (oData.Result) {
|
||||
identity.smimeKey(oData.Result);
|
||||
} else {
|
||||
this.submitError(oData.ErrorMessage);
|
||||
this.submitError(oData.message);
|
||||
}
|
||||
}, {
|
||||
privateKey: identity.smimeKey(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue