mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 17:03:13 +08: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?` |
||
---|---|---|
.. | ||
default_current_user_provider_spec.rb | ||
facebook_authenticator_spec.rb | ||
github_authenticator_spec.rb | ||
google_oauth2_authenticator_spec.rb | ||
instagram_authenticator_spec.rb | ||
managed_authenticator_spec.rb | ||
open_id_authenticator_spec.rb | ||
twitter_authenticator_spec.rb |