Add warning against parsing/reusing MastoFE settings blob

This commit is contained in:
Haelwenn (lanodan) Monnier 2020-06-22 23:45:29 +02:00
commit 8f6ba4b22f
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
2 changed files with 2 additions and 1 deletions

View file

@ -467,6 +467,7 @@ defmodule Pleroma.Web.Router do
scope "/api/web", Pleroma.Web do
pipe_through(:authenticated_api)
# Backend-obscure settings blob for MastoFE, don't parse/reuse elsewhere
put("/settings", MastoFEController, :put_settings)
end