New passwords do not match or are blank.';
} elseif (($OC_configAR['OC_chair_pwd'] == hashPassword($_POST['currpwd'], $OC_configAR['OC_chair_pwd']))) {
updateConfigSetting('OC_chair_pwd', hashPassword($_POST['pwd1'])) or err('Unable to change password');
print 'Password has been changed.
';
printFooter();
exit;
} else {
$e = 'Current password is incorrect.
';
}
}
if (!empty($e)) {
print '' . $e . '
';
}
print '
';
printFooter();
?>