mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: enable 2FA / password management
This commit is contained in:
@@ -284,6 +284,8 @@ func InitMasterRouter() *gin.Engine {
|
||||
setting.PUT("avatar", controllers.UseGravatar)
|
||||
// 更改用户设定
|
||||
setting.PATCH(":option", controllers.UpdateOption)
|
||||
// 获得二步验证初始化信息
|
||||
setting.GET("2fa", controllers.UserInit2FA)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user