(request: Request)
| 710 | @field_validator("login_account") |
| 711 | @classmethod |
| 712 | def validate_login_account(cls, value: Optional[str]) -> Optional[str]: |
| 713 | if value is None: |
| 714 | return None |
| 715 | normalized = value.strip().lower() |
| 716 | if not re.fullmatch(r"[^\s@]+@[^\s@]+\.[^\s@]+", normalized): |
| 717 | raise ValueError("login_account must be a valid email address") |
no outgoing calls
no test coverage detected