[TYPO3-core] RFC #11564, Change Hardcoded MD5 Password Encryption in User->Setup

Steffen Kamper info at sk-typo3.de
Thu Jul 30 21:12:14 CEST 2009


Hi Steffen,

looking to your patch i wonder that be eval works as the hook use wrong 
syntax. Looking to tceforms a different syntax is expected which has to 
be used here too. I prepared a patch for this, but please test the BE 
eval first.

* eval field value has to satrt with tx_
// Pair hook to the one in t3lib_TCEmain::checkValue_input_Eval()
$evalObj = 
t3lib_div::getUserObj($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tce']['formevals'][$func].':&'.$func);

so there is no notation with class->function

vg Steffen

Steffen Ritter schrieb:
> This is an SVN patch request.
> 
> Type: Feature
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=11564
> 
> Branch: Trunk
> 
> Currently it is only possible to change your BE-Password via User->Setup 
> to an md5 hash.
> For saltedpasswords integration this must be flexible
> 
> Solution:
> Introduce an Hook to register your own eval-Func.
> 
> Additional Info:
> thanks to Steffen Kamper for providing this patch
> 
> Example of usage in saltedpassword:
>         //form evaluation function - FE users only
> $TYPO3_CONF_VARS['SC_OPTIONS']['tce']['formevals']['tx_saltedpasswords_eval_fe']='EXT:saltedpasswords/classes/eval/class.tx_saltedpasswords_eval_fe.php'; 
> 
>         //form evaluation function - BE users only
> $TYPO3_CONF_VARS['SC_OPTIONS']['tce']['formevals']['tx_saltedpasswords_eval_be']='EXT:saltedpasswords/classes/eval/class.tx_saltedpasswords_eval_be.php'; 
> 
> 
> 
> regards
> 
> Steffen R.
> 


More information about the TYPO3-team-core mailing list