Explorar o código

made email a requirement for ssl generation

Ubuntu %!s(int64=10) %!d(string=hai) anos
pai
achega
fac9bdf415
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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'];