Skip to content

Commit

Permalink
Fix duplicated deliver_email_two_factor_token
Browse files Browse the repository at this point in the history
  • Loading branch information
zephyranthes03 committed Jan 13, 2025
1 parent ff68cf4 commit 3747206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bullhorn/users.ex
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ defmodule Bullhorn.Users do

def two_factor_requested(%TwoFactorRequested{token: token, user: user, method: :TWO_FACTOR_METHOD_EMAIL}) do
user
|> UserEmails.deliver_email_two_factor_token(user, token)
|> UserEmails.deliver_email_two_factor_token(token)
|> send_user_email()
end

Expand Down

0 comments on commit 3747206

Please sign in to comment.