fixed bug 911: setting ['BE']['lockIP'] to a value < 4 does not log out the BEuser...
authorRupert Germann <rupi@gmx.li>
Thu, 28 Apr 2005 10:15:03 +0000 (10:15 +0000)
committerRupert Germann <rupi@gmx.li>
Thu, 28 Apr 2005 10:15:03 +0000 (10:15 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@683 709f56b5-9817-0410-a4d7-c38de5d9e867

typo3/sysext/cms/tslib/index_ts.php

index 241779f..db957e9 100755 (executable)
@@ -186,6 +186,7 @@ if ($_COOKIE['be_typo_user']) {             // If the backend cookie is set, we proceed and
                        // the value this->formfield_status is set to empty in order to disable login-attempts to the backend account through this script
                $BE_USER = t3lib_div::makeInstance('t3lib_tsfeBeUserAuth');     // New backend user object
                $BE_USER->OS = TYPO3_OS;
+               $BE_USER->lockIP = $TYPO3_CONF_VARS['BE']['lockIP'];
                $BE_USER->start();                      // Object is initialized
                $BE_USER->unpack_uc('');
                if ($BE_USER->user['uid'])      {