Users should be able to log in with their Joomla password, rather than having to request a new password. Patch to follow shortly.

CommentFileSizeAuthor
#1 joomla-489732-1.patch9.32 KBmalclocke

Comments

malclocke’s picture

Status: Active » Needs review
StatusFileSize
new9.32 KB

This patch does a couple of things.

- Creates a mapping table storing the users original Joomla password and whether or not their password has been converted

- Adds a form_alter() which, if the Drupal login fails, tries to log the user in using their Joomla salted password, and converts it to a Drupal md5() style password if login is sucessfull.

- some general code clean up in the areas relevant to the patch, less queries and more use of drupal_write_record().

Please note, I am working on Drupal 6, and this patch requires this to function. You will need to apply the patch from comment 1 in issue #486080: Port to Drupal 6 first for this patch to work at the time of writing.

drupalnesia’s picture

Status: Needs review » Closed (fixed)

Welcome to contributor group, take a look for port to Drupal6 here http://drupal.org/node/486080

malclocke’s picture

Status: Closed (fixed) » Fixed

Committed to HEAD

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.