Fix: Mobile responsiveness audit (modals, views, sidebar) & Critical bug fixes (registration, orphan tasks)
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
+1
-2
@@ -105,8 +105,7 @@ export async function registerRoutes(app: Express): Promise<Server> {
|
||||
});
|
||||
|
||||
app.get("/api/settings/public", async (req, res) => {
|
||||
const regEnabled = "true"; // Force enabled for testing
|
||||
// const regEnabled = await storage.getSystemSettings("registration_enabled");
|
||||
const regEnabled = await storage.getSystemSettings("registration_enabled");
|
||||
// Default to true if not set, or specifically check for "false"
|
||||
res.json({ registration_enabled: regEnabled !== "false" });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user