projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99623b4
)
Do not apply http signature pipeline to the unsubscribe route
author
Egor Kislitsyn
<egor@kislitsyn.com>
Tue, 10 Dec 2019 14:46:02 +0000
(21:46 +0700)
committer
Egor Kislitsyn
<egor@kislitsyn.com>
Tue, 10 Dec 2019 15:36:03 +0000
(22:36 +0700)
lib/pleroma/web/router.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/router.ex
b/lib/pleroma/web/router.ex
index e6c4f6f1495d1c14c6c1eac0218a325e02ab89d5..78cb703a99a444a43b2daec6bd9ed66e72aef60e 100644
(file)
--- 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