Display code right in the subject line

This commit is contained in:
Jason Zimdars
2025-11-20 21:45:26 -06:00
parent 5e18d79999
commit b1762ea6b6
+1 -1
View File
@@ -3,6 +3,6 @@ class MagicLinkMailer < ApplicationMailer
@magic_link = magic_link
@identity = @magic_link.identity
mail to: @identity.email_address, subject: "Your Fizzy verification code"
mail to: @identity.email_address, subject: "Your Fizzy code is #{ @magic_link.code }"
end
end