X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=actions%2Fregister.php;h=6b039c93f65fb1deccc57fee928e6a9564ef77e9;hb=b7d07466943a73e1c009467c8daa6e499810080f;hp=e386a8fc8ad30ff3cd6d7cc0cc6a39c952071890;hpb=2bd9532ebeef11f4e6032ace294115a990006c4c;p=quix0rs-gnu-social.git diff --git a/actions/register.php b/actions/register.php index e386a8fc8a..6b039c93f6 100644 --- a/actions/register.php +++ b/actions/register.php @@ -69,13 +69,6 @@ class RegisterAction extends Action parent::prepare($args); $this->code = $this->trimmed('code'); - // @todo this check should really be in index.php for all sensitive actions - $ssl = common_config('site', 'ssl'); - if (empty($_SERVER['HTTPS']) && ($ssl == 'always' || $ssl == 'sometimes')) { - common_redirect(common_local_url('register')); - // exit - } - if (empty($this->code)) { common_ensure_session(); if (array_key_exists('invitecode', $_SESSION)) {