mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-09-01 03:07:41 +00:00
\n
This commit is contained in:
parent
98f0f1e29c
commit
efacc1abb9
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ func (s *Server) RemoveUser(ctx context.Context, email string) error {
|
|||
}
|
||||
if user := s.GetUser(ctx, email); user != nil {
|
||||
peer := user.Account.(*MemoryAccount)
|
||||
err := s.dev.IpcSet("public_key=" + hex.EncodeToString(peer.Pub[:]) + "\n" + "remove=true\n")
|
||||
err := s.dev.IpcSet("public_key=" + hex.EncodeToString(peer.Pub[:]) + "\nremove=true\n")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue