解決策は比較的簡単です。
新しいモジュールでは、次のような関数を定義します。
function MYMODULE_form_alter(&$form, $form_state, $form_id) {
if($form_id=="uc_cart_checkout_form"){
$form['panes']['customer']["new_account"]['pass']["#required"]=true;
$form['panes']['customer']["new_account"]['pass_confirm']["#required"]=true;
}
}
最終的にtry-catchブロックで将来の設定を変更する場合に通知を防止します。