commit: feda1e65541b5c723565d1687998a975f0d95633
parent: 70e9dd0b5b2c4b2d695334d8b63c6d58cb1619d8
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Mon, 3 Oct 2016 19:10:56 +0200
Catch warden throw in actioncable
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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