统一 Username

This commit is contained in:
bjdgyc
2022-10-09 14:58:51 +08:00
parent adb8b45985
commit 4a412fe0ee
5 changed files with 6 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ func LinkTunnel(w http.ResponseWriter, r *http.Request) {
}
// 设置用户策略
SetUserPolicy(sess.Username, cSess.Group)
SetUserPolicy(cSess.Username, cSess.Group)
// 允许本地LAN访问vpn网络必须放在路由的第一个
if cSess.Group.AllowLan {