Skip to content

Commit

Permalink
apps/users: disable help text for password field on login page
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk authored and m4ra committed Jun 17, 2024
1 parent a78f2d0 commit 329e25b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/users/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def __init__(self, *args, **kwargs):
self.fields["login"].label = _("Username/e-mail")
del self.fields["login"].widget.attrs["placeholder"]
del self.fields["password"].widget.attrs["placeholder"]
self.fields["password"].help_text = ""
self.fields["login"].widget.attrs["autocomplete"] = "username"
self.fields["password"].widget.attrs["autocomplete"] = "current-password"

Expand Down
3 changes: 3 additions & 0 deletions changelog/_1113.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Fixed

- disable password help text provided by django-allauth on login form

0 comments on commit 329e25b

Please sign in to comment.