User registration now works.
This commit is contained in:
parent
eaaf309260
commit
45c541ee7c
3 changed files with 24 additions and 4 deletions
|
@ -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"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue