FEATURE: Custom unsubscribe options (#17090)

With this change, plugins can create custom unsubscribe keys, extend the unsubscribe view with custom preferences, and decide how they are updated.
This commit is contained in:
Roman Rizzi
2022-06-21 15:49:47 -03:00
committed by GitHub
parent deee3c6f02
commit e0ba35350e
15 changed files with 376 additions and 246 deletions

View File

@ -95,6 +95,8 @@ class DiscoursePluginRegistry
define_filtered_register :notification_consolidation_plans
define_filtered_register :email_unsubscribers
def self.register_auth_provider(auth_provider)
self.auth_providers << auth_provider
end