5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# File 'app/mailers/emails/identity_verification.rb', line 5
def verification_instructions_email(email, token:)
@token = token
@expires_in_minutes = Users::EmailVerification::ValidateTokenService::TOKEN_VALID_FOR_MINUTES
@password_link = edit_profile_password_url
@two_fa_link = help_page_url('user/profile/account/two_factor_authentication')
= {
to: email,
subject: s_('IdentityVerification|Verify your identity'),
'X-Mailgun-Suppressions-Bypass' => 'true'
}
mail_with_locale() do |format|
format.html { render layout: 'mailer' }
format.text
end
end
|