FIX: users are 'active' by default in imports

This commit is contained in:
Régis Hanol 2014-08-13 23:57:07 +02:00
parent ba15a6a9ea
commit c97f18dec0
1 changed files with 1 additions and 0 deletions

View File

@ -238,6 +238,7 @@ class ImportScripts::Base
end
opts[:email] = opts[:email].downcase
opts[:trust_level] = TrustLevel.levels[:basic] unless opts[:trust_level]
opts[:active] = true
opts[:import_mode] = true
u = User.new(opts)