From 3a1e93fdfc763e9af83cbcb3ec2c05848d09d984 Mon Sep 17 00:00:00 2001 From: Anja Barz Date: Tue, 5 Aug 2025 11:39:14 +0200 Subject: [PATCH 1/2] add remove mandatory password from public links --- .../configuration/remove-password-link.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/admin/configuration/remove-password-link.md diff --git a/docs/admin/configuration/remove-password-link.md b/docs/admin/configuration/remove-password-link.md new file mode 100644 index 00000000..88fb7978 --- /dev/null +++ b/docs/admin/configuration/remove-password-link.md @@ -0,0 +1,42 @@ +--- +sidebar_position: 13 +id: remove-password-from-link +title: Remove mandatory password from public link +description: Remove mandatory password from public link +draft: true +--- + +# Disable Mandatory Password for Public Links + +By default, OpenCloud requires a password for public shares. If you'd like to disable this requirement, follow the steps below. + +## Edit the `.env` File + +Open the environment configuration file located in your `opencloud-compose` directory: + +```bash +nano opencloud-compose/.env +``` + +Add the following environment variable to disable the password requirement for public links: + +```env +OC_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD=false +``` + +## Restart Docker Services + +After saving the file, shut down and restart the Docker containers to apply the changes: + +```bash +docker compose down +docker compose up -d +``` + +## Result + +The system no longer enforces a password when creating public share links. + +:::note +This change applies globally to all public shares created after the restart. +::: \ No newline at end of file From 06105eec5f66429179d8d0ed0e021db440b7b6e8 Mon Sep 17 00:00:00 2001 From: Anja Barz Date: Tue, 19 Aug 2025 10:14:21 +0200 Subject: [PATCH 2/2] perform linter --- docs/admin/configuration/remove-password-link.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/configuration/remove-password-link.md b/docs/admin/configuration/remove-password-link.md index 88fb7978..9284c9e4 100644 --- a/docs/admin/configuration/remove-password-link.md +++ b/docs/admin/configuration/remove-password-link.md @@ -39,4 +39,4 @@ The system no longer enforces a password when creating public share links. :::note This change applies globally to all public shares created after the restart. -::: \ No newline at end of file +:::