diff --git a/lib/send_it_web/components/layouts/root.html.heex b/lib/send_it_web/components/layouts/root.html.heex index 3d3b438..f35079a 100644 --- a/lib/send_it_web/components/layouts/root.html.heex +++ b/lib/send_it_web/components/layouts/root.html.heex @@ -37,11 +37,6 @@ <% else %> -
  • - <.link href={~p"/users/register"}> - Register - -
  • <.link href={~p"/users/log_in"}> Log in diff --git a/lib/send_it_web/live/user_confirmation_instructions_live.ex b/lib/send_it_web/live/user_confirmation_instructions_live.ex index c50c32d..eb8fbec 100644 --- a/lib/send_it_web/live/user_confirmation_instructions_live.ex +++ b/lib/send_it_web/live/user_confirmation_instructions_live.ex @@ -21,8 +21,7 @@ defmodule SendItWeb.UserConfirmationInstructionsLive do

    - <.link href={~p"/users/register"}>Register - | <.link href={~p"/users/log_in"}>Log in + <.link href={~p"/users/log_in"}>Log in

    """ diff --git a/lib/send_it_web/live/user_confirmation_live.ex b/lib/send_it_web/live/user_confirmation_live.ex index 3848b8b..456722f 100644 --- a/lib/send_it_web/live/user_confirmation_live.ex +++ b/lib/send_it_web/live/user_confirmation_live.ex @@ -16,8 +16,7 @@ defmodule SendItWeb.UserConfirmationLive do

    - <.link href={~p"/users/register"}>Register - | <.link href={~p"/users/log_in"}>Log in + <.link href={~p"/users/log_in"}>Log in

    """ diff --git a/lib/send_it_web/live/user_forgot_password_live.ex b/lib/send_it_web/live/user_forgot_password_live.ex index fe81f37..ac50422 100644 --- a/lib/send_it_web/live/user_forgot_password_live.ex +++ b/lib/send_it_web/live/user_forgot_password_live.ex @@ -20,8 +20,7 @@ defmodule SendItWeb.UserForgotPasswordLive do

    - <.link href={~p"/users/register"}>Register - | <.link href={~p"/users/log_in"}>Log in + <.link href={~p"/users/log_in"}>Log in

    """ diff --git a/lib/send_it_web/live/user_login_live.ex b/lib/send_it_web/live/user_login_live.ex index 120af7a..d4df4db 100644 --- a/lib/send_it_web/live/user_login_live.ex +++ b/lib/send_it_web/live/user_login_live.ex @@ -6,13 +6,6 @@ defmodule SendItWeb.UserLoginLive do
    <.header class="text-center"> Log in to account - <:subtitle> - Don't have an account? - <.link navigate={~p"/users/register"} class="font-semibold text-brand hover:underline"> - Sign up - - for an account now. - <.simple_form for={@form} id="login_form" action={~p"/users/log_in"} phx-update="ignore"> diff --git a/lib/send_it_web/live/user_reset_password_live.ex b/lib/send_it_web/live/user_reset_password_live.ex index a45ad3a..198c0bd 100644 --- a/lib/send_it_web/live/user_reset_password_live.ex +++ b/lib/send_it_web/live/user_reset_password_live.ex @@ -31,8 +31,7 @@ defmodule SendItWeb.UserResetPasswordLive do

    - <.link href={~p"/users/register"}>Register - | <.link href={~p"/users/log_in"}>Log in + <.link href={~p"/users/log_in"}>Log in

    """ diff --git a/lib/send_it_web/router.ex b/lib/send_it_web/router.ex index 6b21588..133a1c7 100644 --- a/lib/send_it_web/router.ex +++ b/lib/send_it_web/router.ex @@ -53,7 +53,7 @@ defmodule SendItWeb.Router do live_session :redirect_if_user_is_authenticated, on_mount: [{SendItWeb.UserAuth, :redirect_if_user_is_authenticated}] do - live "/users/register", UserRegistrationLive, :new + # live "/users/register", UserRegistrationLive, :new live "/users/log_in", UserLoginLive, :new live "/users/reset_password", UserForgotPasswordLive, :new live "/users/reset_password/:token", UserResetPasswordLive, :edit