[TYPO3] Need some assistance editting class.t3lib_userauth.php
Diederik van Veen
crz_06 at hotmail.com
Mon Jan 23 20:40:36 CET 2006
Hi, just read a possible solution on the bug tracker for a problem i'm also
experiencing, being access denied to BE (no cookies). The 'not so elegant'
solution is to out comment two lines in
class.t3lib_userauth.php
within function compareUident(...):
<snip>
if ($this->challengeStoredInCookie) {
session_start();
if ($_SESSION['login_challenge'] !==
$loginData['chalvalue']) {
if ($this->writeDevLog)
t3lib_div::devLog('PHP Session stored challenge
"'.$_SESSION['login_challenge'].'" and submitted challenge
"'.$loginData['chalvalue'].'" did not match, so authentication failed!',
't3lib_userAuth', 2);
# $this->logoff();
# return FALSE;
}
}
<snip>
The thing is this solution was for typo3 3.8.1, while the problem i have is
for a typo3 3.5.0 version, and the class.t3lib_userauth.php files don't
match. So i don't know which lines to out comment in my 3.5.0
class.t3lib_userauth.php file. Please help me on this and tell me which
lines i should outcomment instead, as an upgrade is not an option for my
client.
Download class.t3lib_userauth.php file for typo3 3.5.0 here:
http://www.caadstudio.com/download/class.t3lib_userauth.rar
_________________________________________________________________
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
More information about the TYPO3-english
mailing list