-
Notifications
You must be signed in to change notification settings - Fork 574
Closed
Labels
Description
hi,
Thanks for this project. It really help me a lot.
But I found out that if I login with an empty text password, it will not be able to login and type account and password again until restart my browser(Chrome).
I think that is because Chrome remember basic-auth with my empty password.
So I add a if addition myAuth.pass !== "" on WebSSH2/app/server/util.js:12
var myAuth = Auth(req)
if (myAuth && myAuth.pass !== "") {
req.session.username = myAuth.name
And now the input box of login will appear again just like inputing a wrong password!
Reactions are currently unavailable