[TYPO3-english] Re: [TYPO3] sr_feuser_register auto-login NOT working

Pieter Geurts - Aleto pieter at aleto.nl
Fri Apr 29 15:35:41 CEST 2011


Hello,

For the people who are still using kd_md5fepw in combination with 
sr_feuser_register and still have this problem. This is the solution:


Disable in class.tx_srfeuserregister_controldata.php r112:
$this->conf['enableAutoLoginOnConfirmation'] = FALSE;

Add in class.tx_srfeuserregister_setfixed.php r.375
if($this->conf['useMd5Password'])
{
       $md5Obj = &t3lib_div::getUserObj('&tx_srfeuserregister_passwordmd5');
       $r['chalvalue'] = $md5Obj->getChallenge();
}


gr.

Pieter



Op 21-6-2007 13:34, Harald Amelung schreef:
> Hi List,
>
> I'm trying to setup the auto-login feature after the registration of a
> user. Creation of the account is working well, but the auto-login is not
> working, telling me that the password would be wrong.
>
> I use md5 passwords. This is my configuration:
>
> TYPO3 4.1.1
> sr_feuser_register 2.5.7 (just updated from Rep)
> kb_md5fepw 0.4.0
>
> plugin.tx_srfeuserregister_pi1.passwordAtLeast = 6
> plugin.tx_srfeuserregister_pi1.usernameAtLeast = 4
> plugin.tx_srfeuserregister_pi1.registerPID = 63
> plugin.tx_srfeuserregister_pi1.confirmPID = 64
> plugin.tx_srfeuserregister_pi1.editPID = 65
> plugin.tx_srfeuserregister_pi1.loginPID = 59
> plugin.tx_srfeuserregister_pi1.pid = 40
> plugin.tx_srfeuserregister_pi1.siteName = delicutessen.de
> plugin.tx_srfeuserregister_pi1.formFields = username, password
> plugin.tx_srfeuserregister_pi1.enableAdminNotifyConfirmation = 0
> plugin.tx_srfeuserregister_pi1.enableAdminNotifyOnApprove = 0
> plugin.tx_srfeuserregister_pi1.enableAdminNotifyOnRefuse = 0
> plugin.tx_srfeuserregister_pi1.enableAdminNotifyOnRegister = 0
> plugin.tx_srfeuserregister_pi1.forceFileDelete = 0
> plugin.tx_srfeuserregister_pi1.file.templateFile =
> fileadmin/templates/tx_srfeuserregister_normal_tmpl.html
> plugin.tx_srfeuserregister_pi1.pidTitleOverride = delicutessen.de
> Komparsen-Login
> plugin.tx_srfeuserregister_pi1.enableEmailConfirmation = 0
> plugin.tx_srfeuserregister_pi1.enableEmailOnApprove = 0
> plugin.tx_srfeuserregister_pi1.enableEmailOnRegister = 0
> plugin.tx_srfeuserregister_pi1.enablePreviewRegister = 0
> plugin.tx_srfeuserregister_pi1.enableEmailOnUpdate = 0
> plugin.tx_srfeuserregister_pi1.enablePreviewEdit = 0
> plugin.tx_srfeuserregister_pi1.userGroupUponRegistration = 1
> plugin.tx_srfeuserregister_pi1.userGroupAfterConfirmation = 1
> plugin.tx_srfeuserregister_pi1.useMd5Password = 1
> plugin.tx_srfeuserregister_pi1.enableEmailOnDelete = 0
> plugin.tx_srfeuserregister_pi1.enableAdminNotifyOnUpdate = 0
> plugin.tx_srfeuserregister_pi1.enableAdminNotifyOnDelete = 0
> plugin.tx_srfeuserregister_pi1.enableAutoLoginOnCreate = 1
> plugin.tx_srfeuserregister_pi1.autoLoginRedirect_url = index.php?id=47
>
>
> Any ideas here how to get this work?
>
> Harald



More information about the TYPO3-english mailing list