Make email validation less strict

This commit is contained in:
Nitwix
2025-04-12 22:17:29 +02:00
parent b0c08dbbf0
commit 67d4b4da40
2 changed files with 2 additions and 2 deletions

View File

@ -40,4 +40,4 @@ class FromAccount(BaseModel):
raise ValueError(f'Ebanking name is different from account name')
return self
phone_number: str = Field(..., min_length=8)
email: EmailStr #TODO change ?
email: str = Field(min_length=5)