From 8ff4f9be1cd01a05b0afd8e7020753e7b34a3271 Mon Sep 17 00:00:00 2001 From: Aidan Date: Tue, 8 Apr 2025 16:54:55 -0400 Subject: [PATCH] docs: add documentation on registration disable feature --- docs/reference/env.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/reference/env.md b/docs/reference/env.md index 722aa96..25f2fe3 100644 --- a/docs/reference/env.md +++ b/docs/reference/env.md @@ -4,6 +4,15 @@ At the time of writing, LibreCloud is not in the state of perfection, and as such we are expecting that you have a setup exact to ours. While this will change in the future, we still suggest that provide all the listed environment variables. +## Primary + +These are the environment variables which handle how `librecloud/web` functions. +With these variables, you can disable entire parts of the dashboard, such as registration. + +| Environment Variable | Description | Expected Value | +|----------------------|-----------------------------------------------------------|----------------------------------------| +| SIGNUP_ENABLED | Controls if the signup page and APIs are enabled/disabled | `true` (Enabled) or `false` (Disabled) | + ## Authentik We use [Auth.js](https://authjs.dev) to provide authentication for users through Authentik.