[CLEANUP] Remove security_level option from Authentications
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Authentication / BackendUserAuthentication.php
index 640765f..2771ef3 100644 (file)
@@ -334,28 +334,6 @@ class BackendUserAuthentication extends \TYPO3\CMS\Core\Authentication\AbstractU
        }
 
        /**
-        * Sets the security level for the Backend login
-        *
-        * @return      void
-        * @todo Define visibility
-        */
-       public function start() {
-               $securityLevel = trim($GLOBALS['TYPO3_CONF_VARS']['BE']['loginSecurityLevel']);
-               $standardSecurityLevels = array('normal', 'challenged', 'superchallenged');
-               // The TYPO3 standard login service relies on $this->security_level being set
-               // to 'superchallenged' because of the password in the database is stored as md5 hash.
-               // @deprecated since 4.7
-               // These lines are here for compatibility purpose only, can be removed in 6.1.
-               // @see \TYPO3\CMS\Sv\AuthenticationService::processLoginData()
-               if (!empty($securityLevel) && !in_array($securityLevel, $standardSecurityLevels)) {
-                       $this->security_level = $securityLevel;
-               } else {
-                       $this->security_level = 'superchallenged';
-               }
-               parent::start();
-       }
-
-       /**
         * Returns TRUE if user is admin
         * Basically this function evaluates if the ->user[admin] field has bit 0 set. If so, user is admin.
         *