From: Egor Kislitsyn Date: Tue, 10 Dec 2019 14:46:02 +0000 (+0700) Subject: Do not apply http signature pipeline to the unsubscribe route X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=75b419d7c86d0b362ad49e011a97a8def3b786fd;p=akkoma Do not apply http signature pipeline to the unsubscribe route --- diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index e6c4f6f14..78cb703a9 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -528,7 +528,10 @@ defmodule Pleroma.Web.Router do get("/users/:nickname/feed", Feed.FeedController, :feed) get("/users/:nickname", Feed.FeedController, :feed_redirect) + end + scope "/", Pleroma.Web do + pipe_through(:browser) get("/mailer/unsubscribe/:token", Mailer.SubscriptionController, :unsubscribe) end