fix template 2fa email
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
class TemplateMailer < ApplicationMailer
|
class TemplateMailer < ApplicationMailer
|
||||||
def otp_verification_email(template, email:)
|
def otp_verification_email(template, email:)
|
||||||
|
@current_account = template.account
|
||||||
@template = template
|
@template = template
|
||||||
|
|
||||||
@otp_code = EmailVerificationCodes.generate([email.downcase.strip, template.slug].join(':'))
|
@otp_code = EmailVerificationCodes.generate([email.downcase.strip, template.slug].join(':'))
|
||||||
|
|||||||
Reference in New Issue
Block a user