mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 17:41:57 +08:00
Feat: user profile
This commit is contained in:
@@ -107,6 +107,11 @@ func InitMasterRouter() *gin.Engine {
|
||||
user.GET("authn/:username", controllers.StartLoginAuthn)
|
||||
// WebAuthn登陆
|
||||
user.POST("authn/finish/:username", controllers.FinishLoginAuthn)
|
||||
// 获取用户主页展示用分享
|
||||
user.GET("profile/:id",
|
||||
middleware.HashID(hashid.UserID),
|
||||
controllers.GetUserShare,
|
||||
)
|
||||
}
|
||||
|
||||
// 需要携带签名验证的
|
||||
|
||||
Reference in New Issue
Block a user