Addon Import User CSV 1.2.0 - Password not imported correctly

03.03.2013 13:50
#1
msin
Joomshopping forum user no avatar
Name: Marcel Singer
17.05.2012
Posts: 13
Quote
Addon Import User CSV 1.2.0 - Password not imported correctly

Hello

I'm trying to import the user from another Joomla-database. I took the encoded password but the import module change this to another password and the login doesn't work.

If I copie manualy the password, than it works. Why does the import-modul change the password?

Thank you for your help.

Best regards,

Marcel

 
03.03.2013 18:52
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16514
Quote
Aw: Addon Import User CSV 1.2.0 - Password not imported correctly

Set not encrypted password.

Or

administrator\components\com_jshopping\importexport\userimport\userimport.php
add code

$query = "update #__users set password='".$db->getEscaped($row['password2'])."' WHERE `id` = '".$db->getEscaped($row['user_id'])."'";
$db->setQuery($query);
$db->query();

after rows
if (!$user->save()){
JError::raiseWarning('', JText::_( $user->getError()));
}
$row['user_id'] = $user->id;
unset($user);


Letzte Ă„nderung: 03.03.2013 19:38
 
Copyrights MAXXmarketing GmbH. All Rights Reserved