Loading...
 
Skip to main content

Help needed on Migration of trac users to tiki

Status
Open
Subject
Help needed on Migration of trac users to tiki
Version
23.x
Category
  • Support request
Feature
Database MySQL (InnoDB)
User Administration (Registration, Login & Banning)
Resolution status
New
Submitted by
Gary Cunningham-Lee
Lastmod by
Markus Beckschulte
Rating
(0)
Description

I added this here because there have been no responses in the forum. The category is support request, and I assume this does not mean request for paid support.

See https://tiki.org/tiki-view_forum_thread.php?comments_parentId=77291#threadId=77544

Maybe this can be handled by a new developer to the project.

Solution

In the function validate_user_tiki() simply add the following before the md5() stuff:

Copy to clipboard
$realmtrac = ':oldRealm:'; if (! empty($pass) && $res'hash' === md5($user.$realmtrac.$pass)) { $this->set_user_password($res'userId', $pass); return USER_VALID, $user; }


because set_user_password is called, the old hash will be rehashed. the old realm has to be put into the variable $realmtrac

Importance
7
Easy to solve?
5
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7846
Created
Wednesday 29 September, 2021 10:17:00 UTC
by Gary Cunningham-Lee
LastModif
Thursday 07 October, 2021 12:13:13 UTC


Show PHP error messages