Skip to content

Commit d67779f

Browse files
committed
up
1 parent 21b1e19 commit d67779f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

service/controller/userbuilder.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,10 @@ func (c *Controller) buildSSUser(userInfo *[]api.UserInfo, method string) (users
8989
users[i] = &protocol.User{
9090
Level: 0,
9191
Email: e,
92-
Account: serial.ToTypedMessage(&shadowsocks_2022.Account{
93-
Key: userKey,
92+
Account: serial.ToTypedMessage(&shadowsocks_2022.User{
93+
Key: userKey,
94+
Email: e,
95+
Level: 0,
9496
}),
9597
}
9698
} else {

0 commit comments

Comments
 (0)