Skip to content

Commit

Permalink
fixed api request for vless and vmess
Browse files Browse the repository at this point in the history
  • Loading branch information
A1Gard committed Jun 3, 2023
1 parent 157ed30 commit 6c361b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/service/inbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ func (s *InboundService) GetClientTrafficByEmailPassword(email string, password
var find bool
find = false
for _, client := range clients {
if client.Password == password && client.Email == email {
if (client.Password == password || client.ID == password) && client.Email == email {
find = true
break
}
Expand Down

0 comments on commit 6c361b0

Please sign in to comment.