Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

🦺 Validation to warn if guest access enabled on http auth

Alicia Sykes63cb6b841a3a
diff --git a/services/app.js b/services/app.js
index 94432249..44208467 100644
--- a/services/app.js
+++ b/services/app.js
@@ -150,6 +150,9 @@ function getAuthMiddleware(authConfig, oidcSettings) {
if (oidcSettings) {
return createOidcMiddleware(oidcSettings);
} else if (useConfAuth) {
+ if (authConfig.enableGuestAccess) {
+ printWarning('Guest access is not supported with ENABLE_HTTP_AUTH');
+ }
return basicAuth({
authorizer: customAuthorizer,
challenge: true,