mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
OpenPGP.js now stores keys in localStorage
Renamed all deleteAccess to askDelete
This commit is contained in:
parent
9ab72e7a34
commit
0da681f074
21 changed files with 57 additions and 51 deletions
|
|
@ -68,8 +68,8 @@ export class OpenPgpGeneratePopupView extends AbstractViewPopup {
|
|||
|
||||
openpgp.generateKey(cfg).then(keyPair => {
|
||||
if (keyPair) {
|
||||
keyPair.onServer = !!this.saveServer();
|
||||
keyPair.inGnuPG = !!this.saveGnuPG();
|
||||
keyPair.onServer = this.saveServer() ? 1 : 0;
|
||||
keyPair.inGnuPG = this.saveGnuPG() ? 1 : 0;
|
||||
keyPair.uid = userId;
|
||||
PgpUserStore.storeKeyPair(keyPair, ()=>{
|
||||
this.submitRequest(false);
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ class SieveScriptPopupView extends AbstractViewPopup {
|
|||
this.sieveCapabilities = SieveUserStore.capa.join(' ');
|
||||
this.saving = false;
|
||||
|
||||
this.filterForDeletion = ko.observable(null).deleteAccessHelper();
|
||||
this.filterForDeletion = ko.observable(null).askDeleteHelper();
|
||||
/*
|
||||
decorateKoCommands(this, {
|
||||
saveScriptCommand: 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue