🐛 fix ftp conn not store

pull/548/head
微凉 2022-01-30 00:04:31 +08:00
parent 2434ac54d0
commit f26ac57569
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ func (driver FTP) Login(account *model.Account) (*ftp.ServerConn, error) {
if err != nil { if err != nil {
return nil, err return nil, err
} }
connMap[account.Name] = conn
return conn, nil return conn, nil
} }