mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 00:43:39 +08:00
cdf4d7156e
This allows authenticators to instruct the Auth::Result to override attributes without using the general site settings. This provides an easy migration path for auth plugins which offer their own "overrides email", "overrides username" or "overrides name" settings. With this new api, they can set `overrides_*` on the result object, and the attribute will be overriden regardless of the general site setting. ManagedAuthenticator is updated to use this new API. Plugins which consume ManagedAuthenticator will instantly take advantage of this change. |
||
---|---|---|
.. | ||
omniauth_strategies | ||
default_current_user_provider_spec.rb | ||
discord_authenticator_spec.rb | ||
facebook_authenticator_spec.rb | ||
github_authenticator_spec.rb | ||
google_oauth2_authenticator_spec.rb | ||
managed_authenticator_spec.rb | ||
twitter_authenticator_spec.rb |