Browse Source

Fixed captcha - Refs #7838

José Loguercio 9 years ago
parent
commit
88b427d335
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/inc/local.inc.php

+ 1 - 1
main/inc/local.inc.php

@@ -270,7 +270,7 @@ if (!empty($_SESSION['_user']['user_id']) && !($login || $logout)) {
                     // Check captcha
                     $captchaText = $_POST['captcha'];
                     /** @var Text_CAPTCHA $obj */
-                    $obj = isset($_SESSION['userportal.lib']) ? $_SESSION['userportal.lib'] : null;
+                    $obj = isset($_SESSION['template.lib']) ? $_SESSION['template.lib'] : null;
                     if ($obj) {
                         $obj->getPhrase();
                         if ($obj->getPhrase() != $captchaText) {