mirror of
https://gitee.com/fit2cloud-feizhiyun/1Panel.git
synced 2026-11-19 19:34:49 +08:00
feat: refactor auth and xpack integration
This commit is contained in:
committed by
zhengkunwang223
parent
69906046e8
commit
a917ca00a1
@@ -19,7 +19,7 @@ func Certificate() gin.HandlerFunc {
|
||||
c.Next()
|
||||
return
|
||||
}
|
||||
if !xpack.ValidateCertificate(c) {
|
||||
if !xpack.MultiNodeProvider.ValidateCertificate(c) {
|
||||
CloseDirectly(c)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user