mitchas / ffftp

Electron FTP manager
184 stars 31 forks source link

App allows a connection attempt even without the host field #15

Closed claudemuller closed 7 years ago

claudemuller commented 7 years ago

I think that some validation needs to come in here to check if the user has entered anything into the host field upon connect click - a red border with a message or a message in the console.

I've tested it with a hostname but with blank username, password and port and that defaults to: anonymous, @anonymous and 21 respectively - so that is accepted behaviour.