mirror of
https://github.com/docusealco/docuseal
synced 2026-11-09 07:42:32 -05:00
fix template 2fa email
This commit is contained in:
1 parent
9caa9d79d4
commit
809c3ea270
1 file changed
+1
@@ -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