mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-28 07:46:36 +00:00
added reset password workflow
This commit is contained in:
@@ -10,10 +10,6 @@ export async function verifyPassword(
|
||||
outputLen: 32,
|
||||
parallelism: 1,
|
||||
});
|
||||
if (!validPassword) {
|
||||
await new Promise((resolve) => setTimeout(resolve, 250)); // delay to prevent brute force attacks
|
||||
}
|
||||
|
||||
return validPassword;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user