updated token storage

This commit is contained in:
2022-12-09 14:19:26 -06:00
parent 94f3ff9a26
commit b7c156d1e0
5 changed files with 46 additions and 10 deletions

View File

@@ -13,6 +13,7 @@ type LoginBody struct {
}
func login(c *gin.Context) {
var loginBody LoginBody
if err := c.BindJSON(&loginBody); err != nil {
fmt.Println(err)