User registration now works.

This commit is contained in:
Zed A. Shaw 2025-06-27 12:37:07 -04:00
parent eaaf309260
commit 45c541ee7c
3 changed files with 24 additions and 4 deletions

View file

@ -7,7 +7,7 @@ type Login struct {
type User struct {
Username string `db:"username" validate:"required"`
Email string `db:"email" validate:"required email"`
Email string `db:"email" validate:"required,email"`
Password string `db:"password" validate:"required"`
}