Skip to content

fix(auth): validate verify sms profile strings - #206

Closed
aiirvizionz wants to merge 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/verify-sms-profile-string-guard
Closed

fix(auth): validate verify sms profile strings#206
aiirvizionz wants to merge 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/verify-sms-profile-string-guard

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • reject non-string username and displayName values in verify-sms before DB/session work
  • keep signup profile fields constrained to text payloads
  • add regression coverage for numeric usernames in the session completion flow

Test

  • node node_modules\vitest\vitest.mjs run --config %TEMP%\qryptchat-vitest-minimal.config.mjs "src/app/api/auth/verify-sms/route.test.js"
  • git diff --check

uGig billing

  • Expected invoice: 0.50 USD if accepted/merged
  • Counted as revenue now: no, pending review/payment

@ralyodio ralyodio closed this Jul 30, 2026
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.

2 participants