Catch warden throw in actioncable

master
Eugen Rochko 8 years ago
parent 70e9dd0b5b
commit feda1e6554
  1. 2
      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

Loading…
Cancel
Save