[PR #20531] [MERGED] Update base.html #15958

Closed
opened 2025-12-30 00:25:01 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/20531
Author: @Amir-Bakar
Created: 10/8/2025
Status: Merged
Merged: 10/8/2025
Merged by: @jeremystretch

Base: mainHead: patch-1


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 netbox/templates/account/base.html (+1 -1)

📄 Description

Update base.html to account for other cases where passwords are not used, other than LDAP. (SSO solutions, for example.)

Fixes: #20523

Change summary:

Changed the check in templates/account/base.html from if not request.user.ldap_username to if request.user.has_usable_password in line 21.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/20531 **Author:** [@Amir-Bakar](https://github.com/Amir-Bakar) **Created:** 10/8/2025 **Status:** ✅ Merged **Merged:** 10/8/2025 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`92b6c60`](https://github.com/netbox-community/netbox/commit/92b6c601078deaa57e8fdfe55ce9237ef00e1ab1) Update base.html ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/templates/account/base.html` (+1 -1) </details> ### 📄 Description Update base.html to account for other cases where passwords are not used, other than LDAP. (SSO solutions, for example.) ### Fixes: #20523 ### Change summary: Changed the check in `templates/account/base.html` from `if not request.user.ldap_username` to `if request.user.has_usable_password` in line 21. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:25:01 +01:00
adam closed this issue 2025-12-30 00:25:01 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15958