diff --git a/templates/controllers/session.ex b/templates/controllers/session.ex index 769f3de..97220c8 100644 --- a/templates/controllers/session.ex +++ b/templates/controllers/session.ex @@ -65,6 +65,8 @@ defmodule <%= inspect @web_pascal_case %>.Session do # end # defp renew_session(conn) do + delete_csrf_token() + conn |> configure_session(renew: true) |> clear_session()