mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-03 12:36:54 +00:00
P2p first version
This commit is contained in:
@@ -181,7 +181,7 @@ func (s *Csv) DelTask(id int) error {
|
||||
}
|
||||
|
||||
//md5 password
|
||||
func (s *Csv) GetSecretTask(p string) *Tunnel {
|
||||
func (s *Csv) GetTaskByMd5Password(p string) *Tunnel {
|
||||
for _, v := range s.Tasks {
|
||||
if crypt.Md5(v.Password) == p {
|
||||
return v
|
||||
|
Reference in New Issue
Block a user