function login_password_verify($input, $test)
{
if (substr($test, 0, 1) != '$') {
function login_password_verify($input, $test)
{
if (substr($test, 0, 1) != '$') {
$pwfile = "$userdir/.passwd";
if (!file_exists($pwfile)) return;
$usertest = trim(file_get_contents($pwfile));
$pwfile = "$userdir/.passwd";
if (!file_exists($pwfile)) return;
$usertest = trim(file_get_contents($pwfile));