Commit 4398883a authored by Antonio.Suerte's avatar Antonio.Suerte

Email Domain Whitelister

parent a6c692cb
......@@ -763,9 +763,13 @@ class RegisterModelClass extends ModelClassEx {
$ip = gethostbyname($mails[VAL_INT_1]);
if($ip == $mails[VAL_INT_1]) {
$this -> popMessageCommon(ERROR, 'E_WRONG_DOMAIN', array());
$rtn = false;
$forceValidEmail = $this -> getSettingConfiguration("force_valid_email_domain");
if(!in_array($mails[VAL_INT_1], $forceValidEmail -> registration)){
if($ip == $mails[VAL_INT_1]) {
$this -> popMessageCommon(ERROR, 'E_WRONG_DOMAIN', array());
$rtn = false;
}
}
// ワンタイムドメインのチェック
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment