diff options
Diffstat (limited to 'actions/register.php')
-rw-r--r-- | actions/register.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/actions/register.php b/actions/register.php index 7307bc689..9b8161e08 100644 --- a/actions/register.php +++ b/actions/register.php @@ -74,13 +74,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)) { |