From: Eugen Rochko Date: Mon, 3 Oct 2016 17:10:56 +0000 (+0200) Subject: Catch warden throw in actioncable X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=feda1e65541b5c723565d1687998a975f0d95633;p=mastodon.git Catch warden throw in actioncable --- diff --git a/app/channels/application_cable/connection.rb b/app/channels/application_cable/connection.rb index 0c4cac875..bdbf528be 100644 --- a/app/channels/application_cable/connection.rb +++ b/app/channels/application_cable/connection.rb @@ -16,6 +16,8 @@ module ApplicationCable else reject_unauthorized_connection end + rescue :warden + reject_unauthorized_connection end end end