Do not apply http signature pipeline to the unsubscribe route

This commit is contained in:
Egor Kislitsyn 2019-12-10 21:46:02 +07:00
parent 99623b4eca
commit 75b419d7c8

View file

@ -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