From faaf1fb743ca44ee7cf003f5c9b92f7e9e2d9ac0 Mon Sep 17 00:00:00 2001 From: Thomas Lynch Date: Thu, 20 Jul 2023 01:11:23 +1000 Subject: [PATCH] Actually fix that --- src/js/challenge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/challenge.js b/src/js/challenge.js index fc29ba6..1c1492e 100644 --- a/src/js/challenge.js +++ b/src/js/challenge.js @@ -156,7 +156,7 @@ const powFinished = new Promise((resolve) => { } }); - if (argon2 && !wasmSupported) { + if (mode === "argon2" && !wasmSupported) { return insertError(__("Browser does not support WebAssembly.")); } const powOpts = {