Merge branch 'fix/unsubscribe-route' into 'develop'

Do not apply http signature pipeline to the unsubscribe route

See merge request pleroma/pleroma!2052
This commit is contained in:
feld 2019-12-10 17:25:56 +00:00
commit 67a478d709
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