Handle accessing ws socket without auth

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-05-31 12:08:48 +02:00
parent 15b3940262
commit 6adbbc6a1d
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 2 additions and 0 deletions

View File

@ -24,5 +24,7 @@ defmodule Mobilizon.Web.GraphQLSocket do
end
end
def connect(_args, _socket), do: :error
def id(_socket), do: nil
end