mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-22 07:42:52 +00:00
Decrypt: user content
This commit is contained in:
parent
13b914fd17
commit
cc4493a802
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@
|
|||
throw new Error('Password required');
|
||||
|
||||
const dirty = await _decrypt(form.password.value);
|
||||
const clean = DOMPurify.sanitize(dirty, { USE_PROFILES: { html: true } });
|
||||
const clean = DOMPurify.sanitize(dirty, { USE_PROFILES: { html: true }, SANITIZE_NAMED_PROPS: true });
|
||||
|
||||
form.password.value = '';
|
||||
message.innerHTML = clean;
|
||||
|
|
Loading…
Reference in a new issue