tiangolo / full-stack-fastapi-template

Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
MIT License
24.53k stars 4.14k forks source link

🚸 Mark login field as required #1166

Closed patrick91 closed 2 months ago

patrick91 commented 3 months ago

This PR marks email and password as required, so we don't send the form if they are empty.

It also checks if errors returned by the server are a list, and, if so, we show a generic error message.