7f12fab3ca
Previously, we used argon2 to verify the hash with the password. If the hash didn't start with a $, then it would enter the catch block. Now we check the hash before trying to verify it and we also throw an Error if the verify fails. This makes the isHashMatch function more robust. |
||
---|---|---|
.. | ||
browser | ||
node | ||
routes | ||
test-plugin | ||
cli.test.ts | ||
constants.test.ts | ||
emitter.test.ts | ||
helpers.test.ts | ||
http.test.ts | ||
plugin.test.ts | ||
proxy.test.ts | ||
register.test.ts | ||
serviceWorker.test.ts | ||
socket.test.ts | ||
update.test.ts | ||
util.test.ts |