diff --git a/apps/api/lib/buildel_web/controllers/accounts/user_controller.ex b/apps/api/lib/buildel_web/controllers/accounts/user_controller.ex index b5c9dd278..2266a0e05 100644 --- a/apps/api/lib/buildel_web/controllers/accounts/user_controller.ex +++ b/apps/api/lib/buildel_web/controllers/accounts/user_controller.ex @@ -6,6 +6,7 @@ defmodule BuildelWeb.UserController do action_fallback(BuildelWeb.FallbackController) plug(:fetch_current_user) + plug(:require_authenticated_user) def me(conn, _params) do