mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: captcha
This commit is contained in:
@@ -32,6 +32,8 @@ func InitRouter() *gin.Engine {
|
||||
v3.GET("Ping", controllers.Ping)
|
||||
// 用户登录
|
||||
v3.POST("User/Session", controllers.UserLogin)
|
||||
// 验证码
|
||||
v3.GET("Captcha", controllers.Captcha)
|
||||
|
||||
// 需要登录保护的
|
||||
auth := v3.Group("")
|
||||
|
||||
Reference in New Issue
Block a user