11789: Merge branch 'master' into 11789-arvput-exclude-flag
[arvados.git] / services / api / app / mailers / profile_notifier.rb
index 3863e8a6215e6618103f529fd8d925eb681c7400..8c0c5ec863bccf5b91893cc7ef3bfbf5c3c42edd 100644 (file)
@@ -1,8 +1,12 @@
+# 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
 
   def profile_created(user, address)
     @user = user
-    mail(to: address, subject: 'Profile created')
+    mail(to: address, subject: "Profile created by #{@user.email}")
   end
 end