13996: Update rest of code for cleaner config access
[arvados.git] / services / api / app / mailers / profile_notifier.rb
index 13e3b343878c9fecde9f9f4ed04cb548d265a281..849eefe8e1b66bfa7f14eb0c0a158131fbacbb07 100644 (file)
@@ -1,5 +1,9 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 class ProfileNotifier < ActionMailer::Base
-  default from: Rails.configuration.admin_notifier_email_from
+  default from: Rails.configuration.Users.AdminNotifierEmailFrom
 
   def profile_created(user, address)
     @user = user