We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d2a7fe commit 26315adCopy full SHA for 26315ad
routes/users.js
@@ -29,7 +29,7 @@ function decrypt(hash) {
29
const decipher = crypto.createDecipheriv(
30
algorithm,
31
secret.slice(0, 32),
32
- Buffer.from(hash.iv, "hex")
+ Buffer.from(hash, iv, "hex")
33
);
34
35
const decrpyted = Buffer.concat([
0 commit comments