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

@ -11,7 +11,7 @@ defmodule WildWeb.UserRegistrationLive do
Register for an account
<:subtitle>
Already registered?
<.link navigate={~p"/users/log_in"} class="font-semibold text-brand hover:underline">
<.link navigate={~p"/account/log_in"} class="font-semibold text-brand hover:underline">
Log in
</.link>
to your account now.
@ -24,7 +24,7 @@ defmodule WildWeb.UserRegistrationLive do
phx-submit="save"
phx-change="validate"
phx-trigger-action={@trigger_submit}
action={~p"/users/log_in?_action=registered"}
action={~p"/account/log_in?_action=registered"}
method="post"
>
<.error :if={@check_errors}>
@ -59,7 +59,7 @@ defmodule WildWeb.UserRegistrationLive do
{:ok, _} =
Accounts.deliver_user_confirmation_instructions(
user,
&url(~p"/users/confirm/#{&1}")
&url(~p"/account/confirm/#{&1}")
)
changeset = Accounts.change_user_registration(user)