Skip to content

Commit 4d3dc00

Browse files
authored
fix(backend): Add missing hashers to PasswordHasher type (#3380)
1 parent ec2b683 commit 4d3dc00

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/pretty-elephants-kiss.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/backend': patch
3+
---
4+
5+
Added missing phpass and bcrypt_sha256_django hashers to PasswordHasher type

packages/backend/src/api/endpoints/UserApi.ts

+2
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,12 @@ type PasswordHasher =
4848
| 'argon2i'
4949
| 'argon2id'
5050
| 'bcrypt'
51+
| 'bcrypt_sha256_django'
5152
| 'md5'
5253
| 'pbkdf2_sha256'
5354
| 'pbkdf2_sha256_django'
5455
| 'pbkdf2_sha1'
56+
| 'phpass'
5557
| 'scrypt_firebase'
5658
| 'scrypt_werkzeug'
5759
| 'sha256';

0 commit comments

Comments
 (0)