[BUGFIX] Removed dependency on TYPO3_MODE in saltedpasswords
authorAlexander Stehlik <alexander.stehlik@googlemail.com>
Thu, 28 Apr 2011 13:53:28 +0000 (15:53 +0200)
committerDmitry Dulepov <dmitry@typo3.org>
Thu, 6 Oct 2011 07:37:34 +0000 (09:37 +0200)
commitf1ee217c2eef435861feb0b261d9d6464a2a4a01
tree4e7bfb6545313e7d8603f76c9b93017046c6a239
parent1eb014df4b5059242ead1cf919b5317839f569d1
[BUGFIX] Removed dependency on TYPO3_MODE in saltedpasswords

Removed dependency on TYPO3_MODE constant in saltedpasswords which was
used to determine if the extension is enabled and which table (fe_users
or be_users) should be updated.

Since the mode is required in the init process of saltedpasswords where
the parent auth object is not available the new data in the info
array (introduced in #26410) is used.

Change-Id: I04180d283d6818b2e09d33f82036f6f88a5cb26c
Resolves: #22881
Reviewed-on: http://review.typo3.org/1778
Reviewed-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
typo3/sysext/saltedpasswords/sv1/class.tx_saltedpasswords_sv1.php