From 34cb8ec268f87bd7f2aad330c287b9d0cdc61bed Mon Sep 17 00:00:00 2001 From: Kevin Morris Date: Tue, 28 Dec 2021 13:13:46 -0800 Subject: [PATCH] fix(routers.packages): all authenticated users can see sshd clone uri Signed-off-by: Kevin Morris --- templates/partials/packages/details.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/partials/packages/details.html b/templates/partials/packages/details.html index ae7c45f4..9aeb81ec 100644 --- a/templates/partials/packages/details.html +++ b/templates/partials/packages/details.html @@ -4,7 +4,7 @@ {{ "Git Clone URL" | tr }}: {{ git_clone_uri_anon | format(pkgbase.Name) }} ({{ "read-only" | tr }}, {{ "click to copy" | tr }}) - {% if is_maintainer %} + {% if request.user.is_authenticated() %}
{{ git_clone_uri_priv | format(pkgbase.Name) }} ({{ "click to copy" | tr }}) {% endif %}