BearStudio / start-ui-web

πŸš€ Start UI [web] is an opinionated UI starter with 🟦 TypeScript, βš›οΈ React, ⚫️ NextJS, ⚑️ Chakra UI, 🟦 tRPC, πŸ” Lucia Auth, β–² Prisma, πŸ–οΈ TanStack Query, πŸ“• Storybook, 🎭 Playwright,πŸ“‹ React Hook Form,β—½From the 🐻 BearStudio Team
https://demo.start-ui.com
MIT License
1.4k stars 132 forks source link

Feat: Use alphanumeric for the validation code #520

Closed JeanneGrenet closed 3 months ago

JeanneGrenet commented 3 months ago

Closes #514

Description :

Following the Copenhagen Book we should use alphanumeric code for validation (without some specific characters) to prevent user errors. https://thecopenhagenbook.com/email-verification Use the oslo library for this https://oslo.js.org/reference/crypto/generateRandomString

TASKS

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
start-ui βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Aug 9, 2024 1:05pm
sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

AtamaHeitekava commented 3 months ago

Testing done. Everything seems to work as intended. I tried different actions (register, login, update email and delete account) that needed this code : each time the code is send and working as intended (if another code is given, it return an error) and the code given is alphanumeric.