Commit f2f0c11e authored by James Laver's avatar James Laver

Correct link in email to reset password

parent 584d7f9b
Pipeline #66707408 passed with stages
in 7 minutes and 19 seconds
...@@ -45,7 +45,7 @@ defmodule MoodleNet.Email do ...@@ -45,7 +45,7 @@ defmodule MoodleNet.Email do
defp reset_password_url(token) do defp reset_password_url(token) do
MoodleNetWeb.Endpoint.struct_url() MoodleNetWeb.Endpoint.struct_url()
|> Map.put(:path, "/reset_password?token=#{token}") |> Map.put(:path, "/reset/#{token}")
|> URI.to_string() |> URI.to_string()
end end
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment