mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Catch warden throw in actioncable
This commit is contained in:
parent
70e9dd0b5b
commit
feda1e6554
@ -16,6 +16,8 @@ module ApplicationCable
|
|||||||
else
|
else
|
||||||
reject_unauthorized_connection
|
reject_unauthorized_connection
|
||||||
end
|
end
|
||||||
|
rescue :warden
|
||||||
|
reject_unauthorized_connection
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user