[TYPO3-core] RFC: Feature #10585: Enable BE-User to change their OpenID

Steffen Gebert steffen at steffen-gebert.de
Mon Sep 7 20:17:21 CEST 2009


On Mon, 07 Sep 2009 17:34:12 +0200, Steffen Kamper <info at sk-typo3.de>  
wrote:

> yes: it doesn't work. You have the field declared 2 times, and the  
> userFunc save the value in BE_USER->uc

Oh.. shit :D I never locked out...

I assume there's no way to save any data to be_users, isn't it?


function storeIncomingData() {
....
// Personal data for the users be_user-record (email, name, password...)
// If email and name is changed, set it in the users record:
$be_user_data = $d['be_users'];
$this->PASSWORD_UPDATED =  
strlen($be_user_data['password'].$be_user_data['password2'])>0 ? -1 : 0;
if ($be_user_data['email']!=$BE_USER->user['email']
	|| $be_user_data['realName']!=$BE_USER->user['realName']
	|| (strlen($be_user_data['password'])==32
	&& !strcmp($be_user_data['password'],$be_user_data['password2'])))

So it's limited to email, name, password.

Any idea? Theretically we could save it in the userFunc (compare data to  
be_users and save, if it's different) - but it's intent is only rendering  
and not saving I think.
We also need to hook into storeIncomingData() I think..

Or is there any other way to do so?

Thanks
Steffen


More information about the TYPO3-team-core mailing list