Project

General

Profile

Defect #14590 ยป migrate_from_trac.rake.txt

Craig Rodrigues, 2013-08-01 07:40

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