瀏覽代碼

made email a requirement for ssl generation

Ubuntu 10 年之前
父節點
當前提交
fac9bdf415
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      web/generate/ssl/index.php

+ 1 - 0
web/generate/ssl/index.php

@@ -40,6 +40,7 @@ if (empty($_POST['v_country'])) $errors[] = __('country');
 if (empty($_POST['v_state'])) $errors[] = __('domain');
 if (empty($_POST['v_state'])) $errors[] = __('domain');
 if (empty($_POST['v_locality'])) $errors[] = __('city');
 if (empty($_POST['v_locality'])) $errors[] = __('city');
 if (empty($_POST['v_org'])) $errors[] = __('organization');
 if (empty($_POST['v_org'])) $errors[] = __('organization');
+if (empty($_POST['v_email'])) $errors[] = __('email');
 $v_domain = $_POST['v_domain'];
 $v_domain = $_POST['v_domain'];
 $v_email = $_POST['v_email'];
 $v_email = $_POST['v_email'];
 $v_country = $_POST['v_country'];
 $v_country = $_POST['v_country'];