From 1b4bdc81621a050d2a03d2b79914bbe9ee41da97 Mon Sep 17 00:00:00 2001 From: Michael Drury <mpdrury15@gmail.com> Date: Tue, 9 May 2023 14:42:09 +0100 Subject: [PATCH] fixed error with email regex which didnt require a . --- shop/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shop/forms.py b/shop/forms.py index a8b371d..cf249a7 100644 --- a/shop/forms.py +++ b/shop/forms.py @@ -57,4 +57,4 @@ class emailChangeForm(FlaskForm): class mobileChangeForm(FlaskForm): new_mobile = StringField('Enter a new mobile:', validators=[Regexp(regex='^[+-]?[0-9]+$', message = 'only integers allowed'), input_required(), Length(11, 11)]) - submit2 = SubmitField('Submit') \ No newline at end of file + submit2 = SubmitField('Submit') -- GitLab