Compare commits
No commits in common. "c2e055438438b64d2d193734d76ef0e6854cfab3" and "c64327e826d48fbf16777cd60d7f7e7c24ec7610" have entirely different histories.
c2e0554384
...
c64327e826
@ -118,7 +118,8 @@ func LoginHandler(db *gorm.DB) http.HandlerFunc {
|
||||
"id": user.ID,
|
||||
"username": user.Username,
|
||||
"email": user.Email,
|
||||
"token": tokenString
|
||||
"token": tokenString,
|
||||
"password" : input.Password
|
||||
// ajoute d'autres infos utiles ici si nécessaire
|
||||
},
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user