[BUGFIX] Remove dependency to RsaEncryptionModule in LoginRefresh 29/50229/8
authorFrank Naegler <frank.naegler@typo3.org>
Fri, 14 Oct 2016 13:41:29 +0000 (15:41 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 17 Oct 2016 07:39:09 +0000 (09:39 +0200)
commit5a568ed2f9e93e562948019c5b14db04e9a736b1
tree382725822306333f03caad8fec9a04a1e7c11f64
parent2f0c77bc2a890108cc73d2a9b3e3b047f94087d5
[BUGFIX] Remove dependency to RsaEncryptionModule in LoginRefresh

This patch removes the hard dependency to RsaEncryptionModule and adds
a check if the module can be loaded.

It on the go adds a hardening to the RsaEncryptionModule to avoid
registration of form event handlers twice, which is now needed to cover
all potential loading orders of RsaEncryptionModule and LoginRefresh.

Resolves: #78299
Related: #75911
Releases: master, 7.6
Change-Id: Ie03f1c7bc34e48f03213dec70c62d8ccc339ab31
Reviewed-on: https://review.typo3.org/50229
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/backend/Resources/Public/JavaScript/LoginRefresh.js
typo3/sysext/rsaauth/Resources/Public/JavaScript/RsaEncryptionModule.js