mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
REFACTOR: Migrate FacebookAuthenticator to use ManagedAuthenticator
Changes to functionality
- Removed syncing of user metadata including gender, location etc.
These are no longer available to standard Facebook applications.
- Removed the remote 'revoke' functionality. No other providers have
it, and it does not appear to be standard practice in other apps.
- The 'facebook_no_email' event is no longer logged. The system can
cope fine with a missing email address.
Data is migrated to the new user_associated_accounts table.
facebook_user_infos can be dropped once we are confident the data has
been migrated successfully.
This commit is contained in:
@@ -28,7 +28,7 @@ class UserHistory < ActiveRecord::Base
|
||||
notified_about_dominating_topic: 9,
|
||||
suspend_user: 10,
|
||||
unsuspend_user: 11,
|
||||
facebook_no_email: 12,
|
||||
facebook_no_email: 12, # not used anymore
|
||||
grant_badge: 13,
|
||||
revoke_badge: 14,
|
||||
auto_trust_level_change: 15,
|
||||
|
||||
Reference in New Issue
Block a user