diff --git a/api/panel/user.go b/api/panel/user.go index ac25089..96b95c1 100644 --- a/api/panel/user.go +++ b/api/panel/user.go @@ -37,7 +37,7 @@ func (p *UserInfo) GetUserEmail() string { } else if p.TrojanUser != nil { return p.TrojanUser.Password } - return p.Cipher + return p.Secret } type UserListBody struct {