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

How to disable the login ? #31

Open vletroye opened 7 years ago

vletroye commented 7 years ago

I have packaged your app for my Synology. I.e.: it's now running "windowed" within DSM (Synology's Desktop) as any third party package.

As I already had to log in the DSM, I would like to remove the need to login in the Web Console. But I don't know if there is an easy trick for that (some settings ?). Or do I have to find and remove all the code prompting for user/password ? (code that I am not able so far to find :/ )

zombozo12 commented 7 years ago

Did you set $NO_LOGINvariable to truecondition?

$NO_LOGIN = true;

is that what you meant?

vletroye commented 7 years ago

Stupid as I am, I was trying to add this variable in the index.php file found in the source code folder "tree/master/release" :(

I did get now the release from https://github.com/nickola/web-console/releases/download/v0.9.7/webconsole-0.9.7.zip This one contains that variable you mention.. and for sure, it works :D

[still learning how to use Git :/]

Thx !!!

zombozo12 commented 7 years ago

Did you use webconsole.php from http://web-console.org ?

Which is release version? In github just index.php then redirected to webconsole.php and there is no webconsole.php

vletroye commented 7 years ago

:D I just updated my previous post... I was indeed not using the correct "release" version ! Many thx again for your quick reply !

I have repackage the last version with NO_LOGIN = true for my Synology and it works ike a charm :p

zombozo12 commented 7 years ago

Oh thanks god, I was afraid that I was wrong.. Ok then, I so glad that I can help you. See ya