mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
@@ -44,6 +44,8 @@ class WebHookUserSerializer < UserSerializer
|
||||
scope.is_admin?
|
||||
end
|
||||
|
||||
alias_method :include_secondary_emails?, :include_email?
|
||||
|
||||
def include_external_id?
|
||||
scope.is_admin? && object.single_sign_on_record
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user