Merge branch '8784-dir-listings'
[arvados.git] / services / api / app / mailers / user_notifier.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class UserNotifier < ActionMailer::Base
6   include AbstractController::Callbacks
7
8   default from: Rails.configuration.user_notifier_email_from
9
10   def account_is_setup(user)
11     @user = user
12     mail(to: user.email, subject: 'Welcome to Curoverse - shell account enabled')
13   end
14
15 end