Hi there
Is there a possibility to switch off the login when using netjukebox?
I use netjukebox it only at home and do not open the firewall for the public.
Regards
Tom
Use netjukebox without login
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Re: Use netjukebox without login
With some small modifications this is possible.
In netjukebox 6.00 I will add a new config variable that will make it easier to to enable autologin.
Than something like this can be used:
- Modify the anonymous user rights, they will be used for everyone!
- Set the login delay to zero: $cfg['login_delay'] = 0;
Code: Select all
function initialize() {
if (typeof XMLHttpRequest != 'undefined') {
document.loginform.username.focus();
document.loginform.username.select();
anonymousPassword();
loginStage1(document.loginform.username.value)
}
}
Than something like this can be used:
Code: Select all
// +------------------------------------------------------------------------+
// | Authenticate |
// +------------------------------------------------------------------------+
$cfg['anonymous_user'] = 'anonymous';
$cfg['anonymous_user_autologin'] = true;
$cfg['login_delay'] = 0;
Re: Use netjukebox without login
6.03.2: ananomous works without password