mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
The previous implementation didn't work because HomepageForm rejected the email as not having a domain. Additionally, the logic in accounts_register didn't work with Google auth because that code path doesn't pass through accounts_home. Since whether there's a unique open realm for the server is effectively a configuration property, we can fix the bug and make the logic clearer by moving it into the "figure out the user's realm" function.
4.3 KiB
4.3 KiB