Project

General

Profile

Defect #14590 ยป migrate_from_trac.rake.txt

Craig Rodrigues, 2013-08-01 07:40

 
1
Index: migrate_from_trac.rake
2
===================================================================
3
--- migrate_from_trac.rake	(revision 12072)
4
+++ migrate_from_trac.rake	(working copy)
5
@@ -258,7 +258,7 @@ namespace :redmine do
6
                        :lastname => ln[0, limit_for(User, 'lastname')]
7
 
8
           u.login = username[0, User::LOGIN_LENGTH_LIMIT].gsub(/[^a-z0-9_\-@\.]/i, '-')
9
-          u.password = 'trac'
10
+          u.password = 'tracmigratetoredmine'
11
           u.admin = true if TracPermission.find_by_username_and_action(username, 'admin')
12
           # finally, a default user is used if the new user is not valid
13
           u = User.first unless u.save
    (1-1/1)