You can backup and modify the login.php to
// foreach (file('/etc/nginx/htpasswd') as $strCredentials) {
//list($user,$pwhash) = explode(':', trim($strCredentials));
// Validate credentials
if ($_POST['username'] == 'YOURUSERNAME' && $_POST['password'] == 'YOURPASSWORD') {
// Successful login, start session
session_start();
$_SESSION['unraid_login'] = time();
$_SESSION['unraid_user'] = $_POST['username'];
session_regenerate_id(true);
session_write_close();
exec("logger -t webGUI ".escapeshellarg("Successful login user {$_POST['username']} from {$_SERVER['RE
MOTE_ADDR']}"));
header("Location: /".$var['START_PAGE']);
exit;
}
//}
Then you login with YOURUSERNAME and YOURPASSWORD.
and in user page, you could change your password of your account , the program will recreate the /etc/nginx/htpasswd file.
last, you need to restore the backup login.php file.