Преглед изворни кода

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_locality'])) $errors[] = __('city');
 if (empty($_POST['v_org'])) $errors[] = __('organization');
+if (empty($_POST['v_email'])) $errors[] = __('email');
 $v_domain = $_POST['v_domain'];
 $v_email = $_POST['v_email'];
 $v_country = $_POST['v_country'];