mirror of https://github.com/zulip/zulip.git
c88163eea8
The main change here is to send a proper confirmation link to the frontend in the `confirm_continue_registration` code path even if the user didn't request signup, so that we don't need to re-authenticate the user's control over their email address in that flow. This also lets us delete some now-unnecessary code: The `invalid_email` case is now handled by HomepageForm.is_valid(), which has nice error handling, so we no longer need logic in the context computation or template for `confirm_continue_registration` for the corner case where the user somehow has an invalid email address authenticated. We split one GitHub auth backend test to now cover both corner cases (invalid email for realm, and valid email for realm), and rewrite the Google auth test for this code path as well. Fixes #5895. |
||
---|---|---|
.. | ||
analytics | ||
confirmation | ||
corporate | ||
tests | ||
zerver | ||
zilencer | ||
.gitignore | ||
404.html | ||
500.html |