fix template 2fa email

This commit is contained in:
Pete Matsyburka
2025-07-31 19:23:27 +03:00
parent 9caa9d79d4
commit 809c3ea270
+1
View File
@@ -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(':'))