radius 添加 CallingStationID

This commit is contained in:
bjdgyc
2024-11-15 16:41:28 +08:00
parent bda23283ec
commit 4846c80b04
2 changed files with 5 additions and 1 deletions

View File

@@ -69,6 +69,8 @@ func SetUser(v *User) error {
// 验证用户登录信息
func CheckUser(name, pwd, group string, ext map[string]interface{}) error {
base.Trace("CheckUser", name, pwd, group, ext)
// 获取登入的group数据
groupData := &Group{}
err := One("Name", group, groupData)