Skip to content

Do not use custom password template for wagtail admin.#4845

Open
frjo wants to merge 1 commit into
mainfrom
fix/wagtail-admin-password-field
Open

Do not use custom password template for wagtail admin.#4845
frjo wants to merge 1 commit into
mainfrom
fix/wagtail-admin-password-field

Conversation

@frjo
Copy link
Copy Markdown
Member

@frjo frjo commented May 14, 2026

Fixes #4844

Hypha has custom form field templates that overrides the standard Django ones. The password field template uses tailwind and alpine so does not work well in Wagtail admin. This PR ads a check and fallback on the standard Django template when used for some wagtail admin fields.

Test Steps

  • Test that the password fields on Hypha user account page and elevate works as before.
  • Test that the password fields on wagtail admin user edit view looks and behave as they should, plain django style.

The Wagtail admin user password fields only show when WAGTAILUSERS_PASSWORD_ENABLED = True. Hypha default is False

@frjo frjo added Type: Bug Bugs! Things that are broken :-/ Type: Patch Mini change, used in release drafter labels May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug Bugs! Things that are broken :-/ Type: Patch Mini change, used in release drafter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When editing account and password turned on, icons appear very large

1 participant