[TYPO3-core] RFC: #10017: [felogin] New Method for "forgotPassword"

Xavier Perseguers typo3 at perseguers.ch
Mon Apr 27 22:13:12 CEST 2009


Hi,

v7 attached.

>> Here is v6 of the patch:
>>
>> - Replaced hard-coded reference to kb_md5fepw by a hook (to be used by
>> this extension of course :D)
> 
> AFAIR there are two references to kb_md5fepw and one to another
> extension. Did you remove all of them?
> 
> And did patch v5 work for you? I tried in a real world situation and had
> to fiddle a bit to get it working. If you have some time to spare I can
> send you my version.

What did I changed from v6:

- Fixed an invalid message (Please enter password ... min length was not 
yet set as variable)

- Fixed the hook (password that may have changed in hook did not 
override user-password)

This version was successfully tested against a productive set of users.

Example of hook to be used for kb_mb5fepw:

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['password_changed'][] 
= 'tx_kbmd5fepw->password_changed';

with:

function password_changed(&$params, &$ref) {
     $params['newPassword'] = md5($params['newPassword']);
}


@Masi: Could you confirm it works for you as well?

Regards

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 10017_trunk_v7.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090427/13c730cc/attachment-0001.txt 


More information about the TYPO3-team-core mailing list