Allow authenticating via client-sent events
This commit is contained in:
parent
273cda63ad
commit
21395aa509
3 changed files with 118 additions and 0 deletions
|
|
@ -152,5 +152,6 @@ defmodule Pleroma.Web.StreamerView do
|
|||
|
||||
defp maybe_error(%{error: :bad_topic}), do: %{error: "bad_topic"}
|
||||
defp maybe_error(%{error: :unauthorized}), do: %{error: "unauthorized"}
|
||||
defp maybe_error(%{error: :already_authenticated}), do: %{error: "already_authenticated"}
|
||||
defp maybe_error(_), do: %{}
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue