Skip to content

Commit

Permalink
Update space and dot filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
zephyranthes03 committed Jan 31, 2025
1 parent 68fac98 commit d559ea6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/bullhorn/emails/user_emails.ex
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ defmodule Bullhorn.Emails.UserEmails do
def deliver_email_two_factor_token(%{email: email, first_name: first_name} = user, token) do
spaced_out_token =
token
|> String.upcase()
|> String.split("")
|> Enum.join(". ")
|> String.replace(". ", "")
|> String.trim()

new_email()
|> to({full_name(user), email})
Expand Down

0 comments on commit d559ea6

Please sign in to comment.