From 52a08d3ad953cbf6d7b3a4ebda73073835f98238 Mon Sep 17 00:00:00 2001 From: Tim Beermann Date: Thu, 9 Apr 2026 09:55:41 +0200 Subject: [PATCH] doc: added LLDAP_HTTP_URL env variable for SMTP settings Signed-off-by: Tim Beermann --- docs/install.md | 1 + server/src/cli.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/install.md b/docs/install.md index 8d3c780..d169218 100644 --- a/docs/install.md +++ b/docs/install.md @@ -86,6 +86,7 @@ services: # - LLDAP_SMTP_OPTIONS__PASSWORD=PasswordGoesHere # The SMTP password # - LLDAP_SMTP_OPTIONS__FROM=no-reply # The header field, optional: how the sender appears in the email. The first is a free-form name, followed by an email between <>. # - LLDAP_SMTP_OPTIONS__TO=admin # Same for reply-to, optional. + # - LLDAP_HTTP_URL=https://lldap.example.com # URL used in the email template to compose the reset link ``` Then the service will listen on two ports, one for LDAP and one for the web diff --git a/server/src/cli.rs b/server/src/cli.rs index c0a86d8..2a36f88 100644 --- a/server/src/cli.rs +++ b/server/src/cli.rs @@ -151,7 +151,7 @@ pub struct RunOpts { #[clap(long, env = "LLDAP_HTTP_PORT")] pub http_port: Option, - /// URL of the server, for password reset links. + /// URL of the server, for password reset links. Default: "http://localhost" #[clap(long, env = "LLDAP_HTTP_URL")] pub http_url: Option,