Fix type errors: remove unused bcryptRounds, align test with argon2 API
This commit is contained in:
1 parent
a513d9b7bd
commit
a72646c933
2 files changed
+3
-9
No files matched your search
@@ -19,9 +19,6 @@ function argon2Params() {
|
||||
} as const;
|
||||
}
|
||||
|
||||
function bcryptRounds(): number {
|
||||
return env.BCRYPT_ROUNDS;
|
||||
}
|
||||
|
||||
// Which algorithm hashPassword() emits for NEW/upgraded passwords.
|
||||
// - "bcrypt" (DEFAULT): 60-char $2y$ hash. Fits varchar(255) users.password.
|
||||
|
||||
Reference in new issue
Block a user