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

Email Domain Whitelister

parent a6c692cb
...@@ -763,9 +763,13 @@ class RegisterModelClass extends ModelClassEx { ...@@ -763,9 +763,13 @@ class RegisterModelClass extends ModelClassEx {
$ip = gethostbyname($mails[VAL_INT_1]); $ip = gethostbyname($mails[VAL_INT_1]);
if($ip == $mails[VAL_INT_1]) { $forceValidEmail = $this -> getSettingConfiguration("force_valid_email_domain");
$this -> popMessageCommon(ERROR, 'E_WRONG_DOMAIN', array());
$rtn = false; 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