remember me token generation

This commit is contained in:
Fran Jurmanović
2021-07-12 22:27:04 +02:00
parent 2e07bdd6f0
commit 9ee2169d17
2 changed files with 10 additions and 5 deletions

View File

@@ -5,8 +5,9 @@ type Token struct {
}
type Login struct {
Email string `form:"email"`
Password string `form:"password"`
Email string `json:"email" form:"email"`
Password string `json:"password" form:"password"`
RememberMe bool `json:"rememberMe" form:"rememberMe"`
}
type Auth struct {