mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 14:18:12 +00:00
remember me token generation
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user