code4romania / covid-19-jurnal-medical

Centralization and monitoring of the state of people under auto-isolation with standardized questionnaires
https://dev.stamacasa.ro
Mozilla Public License 2.0
15 stars 52 forks source link

Avoid user enumeration by redirecting duplicated requests #445

Closed adrianiftode closed 4 years ago

adrianiftode commented 4 years ago

When an account already exists the user is redirected to the registration success screen as there is no error, in order to avoid user enumeration

What does it fix?

Closes #440

Please mention the main changes this PR brings.

How has it been tested?

Manually tested it

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/code4romania/stam-acasa/fdm7k8pvh ✅ Preview: https://stam-acasa-git-fork-adrianiftode-issue-440-avoid-us-d2b2b6.code4romania.now.sh