Просмотр исходного кода

made email a requirement for ssl generation

Ubuntu 10 лет назад
Родитель
Сommit
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'];