fix account urls
This commit is contained in:
parent
8e1bb5c333
commit
e218290e08
19 changed files with 102 additions and 102 deletions
|
@ -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))}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue