class UserMailer < ApplicationMailer
  default from: -> { MatchLiveTv.mail_from }

  def password_reset(user, token)
    @user = user
    @reset_url = public_password_reset_url(token: token)
    @expiry_hours = MatchLiveTv.password_reset_expiry_hours

    mail to: user.email, subject: "Reimposta la password — Match Live TV"
  end
end
