Skip to content

Commit

Permalink
Add label to activation-key form field. Refs #250.
Browse files Browse the repository at this point in the history
  • Loading branch information
ubernostrum committed Dec 16, 2024
1 parent a397174 commit 9c42ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/django_registration/backends/activation/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ActivationForm(forms.Form):
EXPIRED_MESSAGE = _("This account has expired.")
INVALID_KEY_MESSAGE = _("The activation key you provided is invalid.")

activation_key = forms.CharField()
activation_key = forms.CharField(label=_("Activation key"))

def clean_activation_key(self):
"""
Expand Down

0 comments on commit 9c42ebf

Please sign in to comment.