xsank / webssh

WebSSH is a simple web project which support login linux server with explorer.
http://xsank.github.io/webssh/
MIT License
581 stars 221 forks source link

check is password mode #35

Closed ca1e closed 5 years ago

ca1e commented 7 years ago

后台判断是否是密码模式处,判断有问题。 data.get('ispwd')返回的是str格式。 当前台返回'false'时,判断函数返回'false',导致open函数if判断错误。