-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: don't allow bypassing ALLOW_REGISTRATION_WITHOUT_INVITE
behaviour
#4454
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Skipped Deployments
|
Uffizzi Preview |
ALLOW_REGISTRATION_WITHOUT_INVITE
behaviourALLOW_REGISTRATION_WITHOUT_INVITE
behaviour
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4454 +/- ##
=======================================
Coverage 96.85% 96.86%
=======================================
Files 1170 1172 +2
Lines 38812 38896 +84
=======================================
+ Hits 37592 37676 +84
Misses 1220 1220 ☔ View full report in Codecov by Sentry. |
Docker builds report
|
FE component has been merged and tested here |
Changes
This PR adds a new
invite_hash
field to the payload on the register endpoint to ensure that it's not possible to bypass theALLOW_REGISTRATION_WITHOUT_INVITE
setting.Note: this will need to be added on the frontend. It's likely that the E2E tests will fail until that is done.
How did you test this code?
Added new tests and updated an existing test.