Don't check for wasm support when using sha256 challenge type

This commit is contained in:
Thomas Lynch
2023-07-19 20:55:48 +10:00
parent 74ae694669
commit 844cff1baa
3 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
tor/hidden_service/
haproxy/*.pem
haproxy/*.crt

View File

@ -156,7 +156,7 @@ const powFinished = new Promise((resolve) => {
}
});
if (!wasmSupported) {
if (argon2 && !wasmSupported) {
return insertError(__("Browser does not support WebAssembly."));
}
const powOpts = {

File diff suppressed because one or more lines are too long