Commit 4e4bb835 authored by Birin Sanchez's avatar Birin Sanchez

Set recovery email filed as optional in cart view.

Signed-off-by: Birin Sanchez's avatarBirin Sanchez <birin.sanchez@puri.sm>
parent 8c1d311f
......@@ -35,10 +35,12 @@ class CartRegistrationForm(RegistrationForm):
email = forms.EmailField(
label=_('Recovery email address'),
help_text=_('Enter an email address were we can send you recovery information.'),
help_text=_('Optional. Enter an email address were we can send you '
'recovery information.'),
validators=[
validators.validate_confusables_email,
],
required=False,
)
class CartRegistrationFormWithCaptcha(CartRegistrationForm):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment