diff --git a/lib/teiserver/common/email_helper.ex b/lib/teiserver/common/email_helper.ex index 09f820f5f..5ff5ac8fc 100644 --- a/lib/teiserver/common/email_helper.ex +++ b/lib/teiserver/common/email_helper.ex @@ -22,14 +22,6 @@ defmodule Teiserver.EmailHelper do website_url = "https://#{host}" verification_code = stats["verification_code"] - {:ok, _code} = - Teiserver.Account.create_code(%{ - value: UUID.uuid4(), - purpose: "reset_password", - expires: Timex.now() |> Timex.shift(hours: 24), - user_id: user.id - }) - message_id = "<#{UUID.uuid4()}@#{host}>" game_name = Application.get_env(:teiserver, Teiserver)[:game_name]