From 1c09407e249b3c75224c71590a9df460d7381f9a Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 21 Jul 2021 21:47:42 +1000 Subject: [PATCH] Dont show "new version available" message when password is enabled and user is logged out --- backend/templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/templates/base.html b/backend/templates/base.html index 649b204e..d4533fde 100644 --- a/backend/templates/base.html +++ b/backend/templates/base.html @@ -26,7 +26,7 @@ {% if current_diff_url %} {{ current_diff_url }} {% else %} - {% if new_version_available %} + {% if new_version_available and not (has_password and not current_user.is_authenticated) %} A new version is available {% endif %} {% endif %}