mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
bdfb370f19
allowEmails used to always be set to true and did not use can_invite_via_email, which checks for enable_local_logins. It was a problem because on sites with local logins disabled users were allowed to enter email addresses, but received a generic error "error inviting that user".