fix account urls

This commit is contained in:
Daniel Yrovas 2025-01-09 15:28:23 +11:00
parent 8e1bb5c333
commit e218290e08
Signed by: danielyrovas
SSH key fingerprint: SHA256:1avlGZQpGW038lBkNI5lOS7f0hIPM7ecJen2/P1MCCU
19 changed files with 102 additions and 102 deletions

View file

@ -31,8 +31,8 @@ defmodule WildWeb.UserResetPasswordLive do
</.simple_form>
<p class="text-center text-sm mt-4">
<.link href={~p"/users/register"}>Register</.link>
| <.link href={~p"/users/log_in"}>Log in</.link>
<.link href={~p"/account/register"}>Register</.link>
| <.link href={~p"/account/log_in"}>Log in</.link>
</p>
</div>
"""
@ -61,7 +61,7 @@ defmodule WildWeb.UserResetPasswordLive do
{:noreply,
socket
|> put_flash(:info, "Password reset successfully.")
|> redirect(to: ~p"/users/log_in")}
|> redirect(to: ~p"/account/log_in")}
{:error, changeset} ->
{:noreply, assign_form(socket, Map.put(changeset, :action, :insert))}