[TYPO3-core] RFC: #7189: Bugfix: Processing of loginSecurityLevel in t3lib_userauth

Steffen Ritter info at rs-websystems.de
Thu Jan 17 12:56:16 CET 2008


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=7189

Branches:
trunk

Problem:
t3lib_userauth::start() does not set t3_lib_userauth::security_level 
depending on a change of $TYPO3_CONF_VARS[FE/BE]['loginsecurityLevel'] 
but t3lib_userauth::processLoginData() changes the array of loginData 
based upon this information.
Due to this, Frontend Login with challenged oder superchallenged mode is 
not possible, because $loginData['uident'] becomes cleared.

Solution:
adding:
if ( $TYPO3_CONF_VARS[$this->loginType]['loginSecurityLevel'] ) {
			$this->security_level = 
$TYPO3_CONF_VARS[$this->loginType]['loginSecurityLevel'];
}

to t3lib_userauth::start();


Notes:
Se Patch attached

Greetings

Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: t3lib_userauth.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080117/5ed32128/attachment.txt 


More information about the TYPO3-team-core mailing list