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
1 changed files with 3 additions and 0 deletions

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