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
Сообщения: 14
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
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25932
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);


Последнее изменение: 03.03.2013 19:38
 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.