10273: Check scope=[all] when looking for an existing superuser token.
[arvados.git] / services / api / app / mailers / profile_notifier.rb
1 class ProfileNotifier < ActionMailer::Base
2   default from: Rails.configuration.admin_notifier_email_from
3
4   def profile_created(user, address)
5     @user = user
6     mail(to: address, subject: "Profile created by #{@user.email}")
7   end
8 end