forked from nixcn/nixcn-cms
8
service/auth/handler.go
Normal file
8
service/auth/handler.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package auth
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
|
||||
func Handler(r *gin.RouterGroup) {
|
||||
r.POST("/magic", RequestMagicLink)
|
||||
r.GET("/magic/verify", VerifyMagicLink)
|
||||
}
|
||||
Reference in New Issue
Block a user