diff --git a/src/assets/templates/index.html b/src/assets/templates/index.html index 5a1a5c4..6400780 100644 --- a/src/assets/templates/index.html +++ b/src/assets/templates/index.html @@ -13,6 +13,7 @@ window.app = window.app || {} window.app.settings = {{ .settings }}; window.app.authenticated = {{ .authenticated }}; + window.app.requiresAuth = {{ .requiresAuth }};
diff --git a/src/frontend/js/app.ts b/src/frontend/js/app.ts index f154d61..f4b1661 100644 --- a/src/frontend/js/app.ts +++ b/src/frontend/js/app.ts @@ -90,6 +90,7 @@ export default { }, 'refreshRate': s.refresh_rate, 'authenticated': app.authenticated, + 'requiresAuth': app.requiresAuth, 'feed_errors': {}, 'refreshRateOptions': [ diff --git a/src/frontend/js/templates/index.html b/src/frontend/js/templates/index.html index e63d2c5..efcf00d 100644 --- a/src/frontend/js/templates/index.html +++ b/src/frontend/js/templates/index.html @@ -117,8 +117,8 @@ - -