#22881tx_saltedpasswords_sv1 should use parent object instead of TYPO3_MODE
Description
At the moment, tx_saltedpasswords_sv1 uses the TYPO3_MODE constant to determine in which table the password should be updated (in updatePassword() method).
This isn’t very clean and can lead to problems if you use some kind of be/fe login combination extension like simulatebe. There, the user logs in to the Frontend, to TYPO3_MODE is “FE” but wants to authenticate a BE user.
A simple solution to this is the usage of the $pObj field. See the attached patch. It makes things much simpler and cleaner as far as I can see.
(issue imported from #M14727)