Skip to content

Commit

Permalink
fix: email address field translations
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed Aug 8, 2023
1 parent dd1c556 commit 05a1ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canaille/core/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ class InvitationForm(Form):
class EmailConfirmationForm(Form):
old_emails = wtforms.FieldList(
wtforms.EmailField(
_("Email addresses"),
validators=[ReadOnly()],
description=_(
"This email will be used as a recovery address to reset the password if needed"
Expand All @@ -396,6 +395,7 @@ class EmailConfirmationForm(Form):
"readonly": "true",
},
),
label=_("Email addresses"),
)
new_email = wtforms.EmailField(
_("New email address"),
Expand Down

0 comments on commit 05a1ff2

Please sign in to comment.