- mail(to: user.email, subject: 'Welcome to Curoverse')
- end
-
-private
- def load_variables
- if Rails.configuration.respond_to?('workbench_address') and
- not Rails.configuration.workbench_address.nil? and
- not Rails.configuration.workbench_address.empty? then
- @wb_address = Rails.configuration.workbench_address
+ if not Rails.configuration.Users.UserNotifierEmailBcc.empty? then
+ @bcc = Rails.configuration.Users.UserNotifierEmailBcc.keys
+ mail(to: user.email, subject: 'Welcome to Arvados - account enabled', bcc: @bcc)