fix template 2fa email

pull/493/merge
Pete Matsyburka 3 months ago
parent 9caa9d79d4
commit 809c3ea270

@ -2,6 +2,7 @@
class TemplateMailer < ApplicationMailer
def otp_verification_email(template, email:)
@current_account = template.account
@template = template
@otp_code = EmailVerificationCodes.generate([email.downcase.strip, template.slug].join(':'))

Loading…
Cancel
Save