New passwords do not match or are blank.';
} elseif (oc_password_verify($_POST['currpwd'], $OC_configAR['OC_chair_pwd'])) {
updateConfigSetting('OC_chair_pwd', oc_password_hash($_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();
?>