nickola / web-console

:desktop_computer: Simple web-based shell in your browser (outdated)
https://nickola.ru/projects/web-console
1.55k stars 350 forks source link

Login credentials dont work #1

Closed satender closed 10 years ago

satender commented 10 years ago

I updated webconsole.php but the shell prompt keeps on saying "Wrong password try again"

Anything that I might be missing. As far as I understand, its just putting that one file into web server's root and the file should have the credentials provided as values to $USER and $PASSWORD for the login to work.

Could you please suggest?

nickola commented 10 years ago

Satender,

Try to check server response (after login/password submission) using something like Chrome Developer Tools (Network tab): https://developers.google.com/chrome-developer-tools/docs/network#http_response

You should see something like this: {"jsonrpc":"2.0","result":{"token":...,"environment":...}}

What do you see there?

satender commented 10 years ago

Hi,

Thanks for your reply. Yes, it was too early on my part to raise this. It was a PHP json module that was missing because I was using an older version of php. Upgraded to php55 and now its working fine.

Again, thanks for the great work you have done with this. Its really useful.

Satender