projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'security/remote-follow-commonapi' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
router.ex
diff --git
a/lib/pleroma/web/router.ex
b/lib/pleroma/web/router.ex
index 47ee762dcaf9a0f7ffe1a8802bab070fb955fce4..0689d69fb3da49a39528b69f33d64d790845ea9c 100644
(file)
--- a/
lib/pleroma/web/router.ex
+++ b/
lib/pleroma/web/router.ex
@@
-412,6
+412,12
@@
defmodule Pleroma.Web.Router do
get("/accounts/search", SearchController, :account_search)
get("/accounts/search", SearchController, :account_search)
+ post(
+ "/pleroma/accounts/confirmation_resend",
+ MastodonAPIController,
+ :account_confirmation_resend
+ )
+
scope [] do
pipe_through(:oauth_read_or_public)
scope [] do
pipe_through(:oauth_read_or_public)
@@
-692,7
+698,7
@@
defmodule Pleroma.Web.Router do
post("/auth/password", MastodonAPIController, :password_reset)
scope [] do
post("/auth/password", MastodonAPIController, :password_reset)
scope [] do
- pipe_through(:oauth_read
_or_public
)
+ pipe_through(:oauth_read)
get("/web/*path", MastodonAPIController, :index)
end
end
get("/web/*path", MastodonAPIController, :index)
end
end