From 51514dcd5776e3a6e623cda8bafb0234934422c0 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 23 Feb 2024 18:29:09 +0000 Subject: [PATCH] auth: Don't show password forgot/join link on subdomains Signed-off-by: Michael Tremer --- src/templates/auth/login.html | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/templates/auth/login.html b/src/templates/auth/login.html index 0a79e43a..5e660af6 100644 --- a/src/templates/auth/login.html +++ b/src/templates/auth/login.html @@ -40,19 +40,23 @@ - + {% if request.host.startswith("www.") %} + + {% end %} - + {% if request.host.startswith("www.") %} + + {% end %} -- 2.47.3