From 92b6c601078deaa57e8fdfe55ce9237ef00e1ab1 Mon Sep 17 00:00:00 2001 From: Amir-Bakar Date: Tue, 7 Oct 2025 09:55:49 +0200 Subject: [PATCH] Update base.html Update base.html to account for other cases where passwords are not used, other than LDAP. (SSO solutions, for example.) --- netbox/templates/account/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/templates/account/base.html b/netbox/templates/account/base.html index 01d288ea66c..4ab2f4da0fa 100644 --- a/netbox/templates/account/base.html +++ b/netbox/templates/account/base.html @@ -18,7 +18,7 @@ - {% if not request.user.ldap_username %} + {% if request.user.has_usable_password %}