demarches-normaliennes/app/mailers/phishing_alert_mailer.rb
2024-08-22 09:26:48 +02:00

16 lines
337 B
Ruby

# frozen_string_literal: true
class PhishingAlertMailer < ApplicationMailer
helper MailerHelper
layout 'mailers/layout'
def notify(user)
@user = user
@subject = "Détection d'une possible usurpation de votre compte"
mail(to: user.email, subject: @subject)
end
def self.critical_email?(action_name) = false
end