1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-06-16 13:47:36 +02:00

replaced MX email validator with email format only

This commit is contained in:
Gani Georgiev
2022-09-01 17:08:55 +03:00
parent 07ac5bf6a2
commit 06a7f1af05
9 changed files with 9 additions and 9 deletions

View File

@ -65,7 +65,7 @@ func (form *AdminPasswordResetRequest) Validate() error {
&form.Email,
validation.Required,
validation.Length(1, 255),
is.Email,
is.EmailFormat,
),
)
}