FIX: users are 'active' by default in imports
This commit is contained in:
parent
ba15a6a9ea
commit
c97f18dec0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue