mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-11 06:26:25 -04:00
FIX: users are 'active' by default in imports
This commit is contained in:
parent
ba15a6a9ea
commit
c97f18dec0
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue