about summary refs log tree commit diff
path: root/app/channels/application_cable
diff options
context:
space:
mode:
Diffstat (limited to 'app/channels/application_cable')
-rw-r--r--app/channels/application_cable/connection.rb2
1 files changed, 2 insertions, 0 deletions
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