Commit e11b470a authored by James Laver's avatar James Laver

Merge branch 'fix/reset-password' into 'develop'

Correct link in email to reset password

See merge request !19
parents 584d7f9b f2f0c11e
Pipeline #66708920 passed with stages
in 8 minutes and 9 seconds
......@@ -45,7 +45,7 @@ defmodule MoodleNet.Email do
defp reset_password_url(token) do
MoodleNetWeb.Endpoint.struct_url()
|> Map.put(:path, "/reset_password?token=#{token}")
|> Map.put(:path, "/reset/#{token}")
|> URI.to_string()
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