Forums: Zimbra Integration
For issues with the Zimbra Integration extensions for Joomla.
Back to Forum List
>>
Back to Topic List
>>
VIEW ALL POSTS
-
Problems with Joomla User plugins with JomSocial
-
Posted: 16-Jun-2011 08:31:43 BST By Administrator
-
JomSocial takes over from com_user to handle user registrations.
After its first page, where it collects the Joomla user details (user, password, e-mail etc.) it saves this data to a temporary row in #__community_register via the addTempUser() function in components/comm_community/models/register.php where it hashes the password.
This means that later in the process, when the JomSocial profile registration is completed and the temp user details are retrieved to pass to Joomla to create a real user, there is no clear text password.
This means that when a Joomla User Plugin is called while Joomla saves the User details the onAfterStoreUser() event's $user array element "password_clear" is not a clear text password.
This causes problems in User Plugins that might want to create accounts in other systems.
-
-
Circumvention...
-
Posted: 16-Jun-2011 08:32:44 BST By Administrator
-
Comment out lines 50-53 in components/com_community/models/register.php which leaves the password unhashed.
This IS a CIRCUMVENTION as the results is that the temp user's password is stored in the database in plain text.
-
-
Re: Circumvention...
-
Posted: 22-Jun-2011 06:34:29 BST By Richard
-
There is another problem at controllers/register.php line 365. This line need to be commented out and it places, what is now, a plain text password in the Joomla User table. This prevents the user logging on as Joomla expects a hashed password in the table.
-