Skip to content

Conversation

@Amir-Bakar
Copy link
Contributor

@Amir-Bakar Amir-Bakar commented Oct 8, 2025

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.

Update base.html to account for other cases where passwords are not used, other than LDAP. (SSO solutions, for example.)
@jeremystretch jeremystretch requested review from a team and jeremystretch and removed request for a team October 8, 2025 13:31
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Amir-Bakar!

@jeremystretch jeremystretch merged commit 2abc5ac into netbox-community:main Oct 8, 2025
7 checks passed
@Amir-Bakar Amir-Bakar deleted the patch-1 branch October 21, 2025 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

templates/account/base.html doesn't account for passwordless options other than LDAP.

2 participants