[BUGFIX] Remove dependency to RsaEncryptionModule in LoginRefresh 39/50239/2
authorFrank Naegler <frank.naegler@typo3.org>
Fri, 14 Oct 2016 13:41:29 +0000 (15:41 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 31 Oct 2016 22:26:40 +0000 (23:26 +0100)
commit3dcf111d8bb795d38255b4ed95bc06d88526838d
treeea492c258c83c1de753598d3968f61dfef5c46da
parentb330463d52828b77a72359edde86b5ed3e5ebb50
[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/50239
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Resources/Public/JavaScript/LoginRefresh.js
typo3/sysext/rsaauth/Resources/Public/JavaScript/RsaEncryptionModule.js