Skip to content

Commit

Permalink
Merge branch 'InazumaV:dev_new' into dev_new
Browse files Browse the repository at this point in the history
  • Loading branch information
wyx2685 authored Aug 29, 2024
2 parents 89ddfff + a85352c commit 130e94c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/xray/ss.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ func buildSSUser(tag string, userInfo *panel.UserInfo, cypher string, serverKey
keyLength = 32
}
ssAccount := &shadowsocks_2022.User{
Key: base64.StdEncoding.EncodeToString([]byte(userInfo.Uuid[:keyLength])),
Level: 0,
Email: format.UserTag(tag, userInfo.Uuid),
Key: base64.StdEncoding.EncodeToString([]byte(userInfo.Uuid[:keyLength])),
}
return &protocol.User{
Level: 0,
Expand Down

0 comments on commit 130e94c

Please sign in to comment.