Fix User database struct

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2025-12-25 01:38:25 +08:00
parent bd726f80ea
commit ca08c997c8
2 changed files with 7 additions and 8 deletions

View File

@@ -47,10 +47,9 @@ func RequestMagicLink(c *gin.Context) {
return
}
// TODO Send EMail
log.Info("Magic link:", link)
// TODO send email
c.JSON(200, gin.H{"message": "magic link sent"})
c.JSON(200, gin.H{"message": "magic link sent", "magic_link": link})
}
func VerifyMagicLink(c *gin.Context) {