X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fregister.php;h=57f8e7bdf0394f450ad1cabd79e7fc166cd67429;hb=093857c582a68b39e0d65523d27f25ede7b7fed6;hp=100ab74242c74a4244739a3fcc46a56ca937c027;hpb=d7ae0ed4fd755ebad0788a17d0f2fb6a6ca9d63b;p=quix0rs-gnu-social.git diff --git a/actions/register.php b/actions/register.php index 100ab74242..57f8e7bdf0 100644 --- a/actions/register.php +++ b/actions/register.php @@ -55,6 +55,12 @@ class RegisterAction extends Action var $registered = false; + /** + * Are we processing an invite? + */ + + var $invite = null; + /** * Prepare page to run * @@ -191,7 +197,7 @@ class RegisterAction extends Action if (!$this->boolean('license')) { $this->showForm(_('You can\'t register if you don\'t '. 'agree to the license.')); - } else if ($email && !Validate::email($email, true)) { + } else if ($email && !Validate::email($email, common_config('email', 'check_domain'))) { $this->showForm(_('Not a valid email address.')); } else if (!Validate::string($nickname, array('min_length' => 1, 'max_length' => 64,