style: middleware name

This commit is contained in:
lejianwen committed 2025-02-12 22:09:52 +08:00
1 parent 63cf231bdc
commit 4b3bbe809d
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -6,8 +6,8 @@ import (
"github.com/lejianwen/rustdesk-api/v2/service"
)
// AdminAuth 后台权限验证中间件
func AdminAuth() gin.HandlerFunc {
// BackendUserAuth 后台权限验证中间件
func BackendUserAuth() gin.HandlerFunc {
return func(c *gin.Context) {
//测试先关闭