Bug #24877

rsaauth with more than one login form on one page doesn't work

Added by Marco Huber over 10 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-01-28
Due date:
% Done:

100%

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

Description

If you have more than one login form on one page only the last rendered login form will work. This happens because when the second login form is rendered the created private key overwrites the first form's private key. This problem is also described on forge: http://forge.typo3.org/issues/6708

In my patch the class tx_rsaauth_keypair is a singleton so that it will be used only one time. The patch also changes the backend classes to check if the class tx_rsaauth_keypair was already called. And it adds some error handling.

The patch is created against TRUNK revision 10349.

Kind regards,
Marco

(issue imported from #M17388)


Files

rsaauth.patch (109 KB) rsaauth.patch Administrator Admin, 2011-01-28 14:19
rsaauth_trunk.patch (109 KB) rsaauth_trunk.patch Administrator Admin, 2011-01-28 14:41
rsaauth_trunk2.patch (9.6 KB) rsaauth_trunk2.patch Administrator Admin, 2011-01-28 14:43
rsaauth_446.patch (9.22 KB) rsaauth_446.patch Administrator Admin, 2011-02-07 08:21

Related issues

Related to TYPO3 Core - Bug #34568: rsaauth can not be used multiple times on one pageClosedNicole Cordes2012-03-06

Actions

Also available in: Atom PDF