Add disabled_plugins to preloadstore for login_required anonymous users (#5134)
This commit is contained in:
parent
a14ab48829
commit
b840170f8d
|
@ -87,7 +87,8 @@ class Site
|
|||
filters: Discourse.filters.map(&:to_s),
|
||||
user_fields: UserField.all.map do |userfield|
|
||||
UserFieldSerializer.new(userfield, root: false, scope: guardian)
|
||||
end
|
||||
end,
|
||||
disabled_plugins: Discourse.disabled_plugin_names
|
||||
}.to_json
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue