mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
fc0cf3ecd1
If the existing email address for a user ends in `.invalid`, we should take the email address from an authentication payload, and replace the invalid address. This typically happens when we import users from a system without email addresses. This commit also adds some extensibility so that plugin authenticators can define `always_update_user_email?`