mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user