mirror of https://github.com/keeweb/keeweb.git
fixed argon2
This commit is contained in:
parent
723c39de85
commit
07177222a0
|
@ -119,7 +119,8 @@ const KdbxwebInit = {
|
|||
self.postMessage({ op: 'postRun' });
|
||||
self.onmessage = e => {
|
||||
try {
|
||||
const hash = self.Module.calcHash(self.Module, e.data);
|
||||
/* eslint-disable-next-line no-undef */
|
||||
const hash = Module.calcHash(Module, e.data);
|
||||
self.postMessage({ hash });
|
||||
} catch (e) {
|
||||
self.postMessage({ error: e.toString() });
|
||||
|
|
Loading…
Reference in New Issue