X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e5e28415e44e4b3cc1695ba827a1ebc0256fafdd..af17604c5a93830380fb50db93ce543926c116cf:/services/api/app/mailers/profile_notifier.rb diff --git a/services/api/app/mailers/profile_notifier.rb b/services/api/app/mailers/profile_notifier.rb index 3863e8a621..8c0c5ec863 100644 --- a/services/api/app/mailers/profile_notifier.rb +++ b/services/api/app/mailers/profile_notifier.rb @@ -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