Defect #14960 » rm14960-increase_password_length_for_mantis_importer.diff
| lib/tasks/migrate_from_mantis.rake (working copy) | ||
|---|---|---|
| 247 | 247 |
:mail => user.email, |
| 248 | 248 |
:last_login_on => user.last_visit |
| 249 | 249 |
u.login = user.username |
| 250 |
u.password = 'mantis' |
|
| 250 |
u.password = 'mantismigratetoredmine'
|
|
| 251 | 251 |
u.status = User::STATUS_LOCKED if user.enabled != 1 |
| 252 | 252 |
u.admin = true if user.access_level == 90 |
| 253 | 253 |
next unless u.save! |
- « Previous
- 1
- 2
- 3
- Next »