REFACTOR: Remove `Discourse.SiteSettings` from application controller

REFACTOR: Remove Discourse.SiteSettings from application controller

diff --git a/app/assets/javascripts/discourse/app/controllers/application.js b/app/assets/javascripts/discourse/app/controllers/application.js
index c96c10c..445f9a4 100644
--- a/app/assets/javascripts/discourse/app/controllers/application.js
+++ b/app/assets/javascripts/discourse/app/controllers/application.js
@@ -11,15 +11,15 @@ export default Controller.extend({
   @discourseComputed
   canSignUp() {
     return (
-      !Discourse.SiteSettings.invite_only &&
-      Discourse.SiteSettings.allow_new_registrations &&
-      !Discourse.SiteSettings.enable_sso
+      !this.siteSettings.invite_only &&
+      this.siteSettings.allow_new_registrations &&
+      !this.siteSettings.enable_sso
     );
   },
 
   @discourseComputed
   loginRequired() {
-    return Discourse.SiteSettings.login_required && !this.currentUser;
+    return this.siteSettings.login_required && !this.currentUser;
   },
 
   @discourseComputed

GitHub sha: 21ea4d12

This commit appears in #10280 which was merged by eviltrout.