Project

General

Profile

Actions

Bug #20038

closed

AJAX relogin does not work

Added by Niels Pardon about 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2009-02-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

On my local XAMPP installation on Windows the AJAX relogin does not work. The login fails and devLog says that the Session challenge does not match the submitted challenge by the AJAX relogin.

Attached patch solved the issue for me.
(issue imported from #M10467)


Files


Related issues 6 (0 open6 closed)

Related to TYPO3 Core - Bug #21350: AJAX Login fails in FilelistClosed2009-10-23

Actions
Related to TYPO3 Core - Bug #33759: AJAX login doesn't work with RSAauth and Salted passClosed2012-02-08

Actions
Has duplicate TYPO3 Core - Bug #20402: Relogin doesn't worksClosedChristian Kuhn2009-05-08

Actions
Has duplicate TYPO3 Core - Bug #20505: Login after Timeout does not accept CredentialsClosedChristian Kuhn2009-05-26

Actions
Has duplicate TYPO3 Core - Bug #20898: relogin after timeout dont workClosedChristian Kuhn2009-08-18

Actions
Has duplicate TYPO3 Core - Bug #19897: Bad interaction between OpenId auth and ExtJS relogin boxClosedOliver Hader2009-01-23

Actions
Actions #1

Updated by Dan Osipov about 15 years ago

Same here, WAMP installation, TYPO3 trunk.

Actions #2

Updated by Susanne Moog about 15 years ago

here too, on Ubuntu manual installation.

Actions #3

Updated by Erik Svendsen about 15 years ago

Have this to, latest Trunk. TYPO3 installed on Fedora 8. Tested with different browsers and also with real domains and use of IP-addresses

Devlog gives following messages.
PHP Session stored challenge "something" and submitted challenge "different" did not match, so authentication failed!

Password not accepted: xxxxxxxxxxxxx

I have shortly tested Niels patch, which didn't helped in my case.

But I found that phpMyAdmin which was installed on this installation is serving values to the cookie. My experience last week tells me that changes to the cookie are a very possible cause for login problems.

Uninstalling phpMyAdmin solved the problem in this case.

I haven't had any look at the code for the AJAX relogin box, but I suppose it use the information in the cookie to make the challenge. Maybe the problem is located there.

Actions #4

Updated by Andreas Beutel about 15 years ago

For phpMyAdmin: Currently only TYPO3 4.2 is supported (therefore there are constraints set for TYPO3 to max allow 4.2.99 as max version number). Anyway - we'll digg into this.

Actions #5

Updated by Vladimir Podkovanov almost 15 years ago

Same here. FreeBSD + latest trunk. Removing phpmyadmin does not help. Patch resolved the bug. But installing phpmyadmin again brake login. So to resolve the bug you need uninstall phpmyadmin + apply the patch.

Actions #6

Updated by Thomas Schröder almost 15 years ago

The patch doesn't resolve the problem in my installation: SLES 10 SP2, 4.3 dev rev. 5351, FF 3.0.9, phpmyadmin disabled.

Actions #7

Updated by Christoph Koehler over 14 years ago

I don't have that problem to begin with. Do you have complicated passwords?
We don't touch cookies for the relogin. Just generate a challenge, save it in the session and the relogin form, and compare those later during relogin, just like the normal BE login does it.

If you could help figure it out with some more details, that'd be great!

Actions #8

Updated by Steffen Kamper over 14 years ago

I tried again with a fresh trunk site, no extensions installed. All work fine!

So i consider that it doesn't work if extensions start writing a cookie. phpmyadmin is a good example (which writes 3 cookies per page request, not fixed yet)

Actions #9

Updated by Thomas Schröder over 14 years ago

You are right. On a fresh trunk site it works for me, too. phpmyadmin (latest TER version) breaks the feature.

Only to mention: setting the sessionTimeout to a low value, e.g. 60 seconds for testing, the AJAX-relogin appears every 3 seconds after the first relogin. 240 seconds and up works fine.

Actions #10

Updated by Steffen Kamper over 14 years ago

60 is too small and even unrealistic. There is also the warning time before the login appears. Small values are only for testing this feature ;)

Actions #11

Updated by Steffen Kamper over 14 years ago

I refactored the relogin complete (rewrite in ExtJS only) and it works again.

Actions #12

Updated by Staffan Ericsson over 14 years ago

Can confirm it

Actions #13

Updated by Steffen Kamper over 14 years ago

committed v5 to trunk, rev 6185

Actions

Also available in: Atom PDF