NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Mitch72
Sep 20, 2010Aspirant
NZBGet WebGUI Password?
Has anyone been able to get NZBGet to require a username and password to access the web client? I've looked at the settings.php file: // username for web-interface. Leave it blank to disable...
dendave
Jul 28, 2011Aspirant
Think I solved it myself. Not really familiar with PHP but a search on the internet learned me that REQUEST is not really recommended to use.
You should use POST instead.
So changed login.php from:
To:
That did the trick for me!
You should use POST instead.
So changed login.php from:
$auth_valid = false;
if (isset($_REQUEST['username']) || isset($_REQUEST['password'])) {
$auth_username = $_REQUEST['username'];
$auth_password = $_REQUEST['password'];
} else {
if (isset($_SESSION['auth_username']))
$auth_username = $_SESSION['auth_username'];
if (isset($_SESSION['auth_password']))
$auth_password = $_SESSION['auth_password'];
}
To:
$auth_valid = false;
if (isset($_POST['username']) || isset($_POST['password'])) {
$auth_username = $_REQUEST['username'];
$auth_password = $_REQUEST['password'];
} else {
if (isset($_SESSION['auth_username']))
$auth_username = $_SESSION['auth_username'];
if (isset($_SESSION['auth_password']))
$auth_password = $_SESSION['auth_password'];
}
That did the trick for me!
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!