Commit 1cf41e77 authored by Mikko Ahlroth's avatar Mikko Ahlroth

Fix user account deletion from legal terms page

parent 3c6e8340
......@@ -18,7 +18,8 @@ defmodule CodeStatsWeb.ConsentPlug do
# Paths that should not be redirected from
no_redirect_paths = [
CodeStatsWeb.Router.Helpers.auth_path(conn, :logout)
CodeStatsWeb.Router.Helpers.auth_path(conn, :logout),
CodeStatsWeb.Router.Helpers.terms_path(conn, :delete_account)
with true <- CodeStatsWeb.AuthUtils.is_authed?(conn),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment