forked from nixcn/nixcn-cms
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user