Skip to content

Commit

Permalink
fix(backend): Add missing hashers to PasswordHasher type (#3380)
Browse files Browse the repository at this point in the history
  • Loading branch information
royanger committed May 14, 2024
1 parent ec2b683 commit 4d3dc00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/pretty-elephants-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/backend': patch
---

Added missing phpass and bcrypt_sha256_django hashers to PasswordHasher type
2 changes: 2 additions & 0 deletions packages/backend/src/api/endpoints/UserApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ type PasswordHasher =
| 'argon2i'
| 'argon2id'
| 'bcrypt'
| 'bcrypt_sha256_django'
| 'md5'
| 'pbkdf2_sha256'
| 'pbkdf2_sha256_django'
| 'pbkdf2_sha1'
| 'phpass'
| 'scrypt_firebase'
| 'scrypt_werkzeug'
| 'sha256';
Expand Down

0 comments on commit 4d3dc00

Please sign in to comment.