I need to register my users to a 3rd party service upon registration in Drupal. I have toyed around a bit with hooks, and tried to catch the password upon registration so I can insert it into another database, but to no avail. The 3rd party DB encrypts the password in a different way, so I need to get the users password in clear text, crypt it and then save it to the database.
Can anyone give me some pointers to where I should look?
hook_user_insert (&$edit, $account, $category), both
$account contains the users encrypted drupal passwords.