Skip to Content Skip to Menu

Encrypted password substitution in mysql script using auto action plugin

  • dda01
  • dda01
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
8 years 2 months ago #283983 by dda01
In the past (using j2.5 and earlier cb and auto action plugin) I created two mysql scripts to send user registration and approval data from a primary site to a secondary site.

Using an auto action, mysql script one is triggered after user registration. It sends user, comprofiler, and user group table data from the primary site to the secondary site. Mysql script two is triggered on user approval (via the email sent from the primary site) and sets the user approval value in the secondary site’s user table. Everything worked fine.

I have been updating the fields and values in the first script to work with joomla 3 and cb 2.0.x (because the database fields have changed has changed) but I have found the password is being send to the secondary site unencrypted.

The first part of the first script is this:

INSERT INTO `*DATABSE`.`**_users` (
`id` ,`name` ,`username` ,`email` ,`password` ,`block` ,`sendEmail` ,`registerDate` ,`lastvisitDate` ,`activation` ,`params` ,`lastResetTime` ,`resetCount` ,`otpKey` ,`otep` ,`requireReset`
)

VALUES (
NULL , '[name]', '[username]', '

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum