mirror of
https://github.com/discourse/discourse.git
synced 2025-04-02 23:40:29 +08:00
DEV: Fix build
Follow-up to 62584064190c4e7e5543ef0d11ff070f5b8d488c.
This commit is contained in:
parent
6258406419
commit
219bb0b6a7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user