mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-29 13:38:46 +00:00
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/pages | ||
e2e | ||
unit | ||
utils | ||
package.json | ||
playwright.config.ts | ||
tsconfig.json | ||
yarn.lock |