From 8d5dfe1e01ac279f04fceda798400d9f41710c81 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Sun, 17 Feb 2019 22:59:00 +0100 Subject: [PATCH] FIX: Don't import parts of the email address as name --- script/import_scripts/base.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/script/import_scripts/base.rb b/script/import_scripts/base.rb index 93af4a7bba7..b6bb1762cec 100644 --- a/script/import_scripts/base.rb +++ b/script/import_scripts/base.rb @@ -302,8 +302,6 @@ class ImportScripts::Base # Allow the || operations to work with empty strings '' opts[:username] = nil if opts[:username].blank? - opts[:name] = User.suggest_name(opts[:email]) unless opts[:name] - if opts[:username].blank? || opts[:username].length < User.username_length.begin || opts[:username].length > User.username_length.end ||