Skip to content

Commit

Permalink
2FA Confirmation Code Email subject line change to fix triggering Goo…
Browse files Browse the repository at this point in the history
…gle spam blocker (#3572)

* Update twofactor_email.hbs subject line to avoid triggering gmail content filter

Previous subject line was triggering Google's spam blocker, breaking the 2FA setup process if a gmail SMTP server is configured.  The new subject line does not (currently) run afoul of Google's filter.

* Update twofactor_email.html.hbs subject line to avoid triggering gmail content filter

Previous subject line was triggering Google's spam blocker, breaking the 2FA setup process if a gmail SMTP server is configured.  The new subject line does not (currently) run afoul of Google's filter.

* Update twofactor_email.hbs

Changed "Confirmation" to "Verification" for the sake of internal consistency

* Update twofactor_email.hbs

* Update twofactor_email.html.hbs
  • Loading branch information
aureateflux committed Oct 21, 2023
1 parent 8933ac2 commit 6eaf131
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/static/templates/email/twofactor_email.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Your Two-step Login Verification Code
Vaultwarden Login Verification Code
<!---------------->
Your two-step verification code is: {{token}}

Use this code to complete logging in with Vaultwarden.
{{> email/email_footer_text }}
{{> email/email_footer_text }}
4 changes: 2 additions & 2 deletions src/static/templates/email/twofactor_email.html.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Your Two-step Login Verification Code
Vaultwarden Login Verification Code
<!---------------->
{{> email/email_header }}
<table width="100%" cellpadding="0" cellspacing="0" style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;">
Expand All @@ -13,4 +13,4 @@ Your Two-step Login Verification Code
</td>
</tr>
</table>
{{> email/email_footer }}
{{> email/email_footer }}

0 comments on commit 6eaf131

Please sign in to comment.