Skip to content

feat: add reusable password hashing utilities#292

Open
Dreamstore2046 wants to merge 1 commit into
MissBlue00:mainfrom
Dreamstore2046:codex/stellar-pay-password-utils
Open

feat: add reusable password hashing utilities#292
Dreamstore2046 wants to merge 1 commit into
MissBlue00:mainfrom
Dreamstore2046:codex/stellar-pay-password-utils

Conversation

@Dreamstore2046

Copy link
Copy Markdown
Contributor

Summary

  • add reusable hashPassword and comparePassword helpers for API auth password handling
  • keep password hashing at 12 salt rounds through the shared helper
  • add @types/bcrypt to the API dev dependencies and lockfile

Closes #207

Validation

  • pnpm install --frozen-lockfile --ignore-scripts
  • pnpm exec tsc --noEmit --module nodenext --moduleResolution nodenext --target ES2023 --esModuleInterop --skipLibCheck src/auth/password.util.ts from apps/api

pnpm --filter api build is currently blocked by existing unrelated TypeScript errors on main in Prisma, Treasury, Webhooks, and existing auth JWT typing. This PR does not introduce those failures.

@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

@Dreamstore2046 is attempting to deploy a commit to the missblue00's projects Team on Vercel.

A member of the Team first needs to authorize it.

@MissBlue00

Copy link
Copy Markdown
Owner

@Dreamstore2046 resolve merge conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add bcrypt dependency and hash passwords during registration

2 participants