Browse Source

Catch warden throw in actioncable

closed-social-glitch-2
Eugen Rochko 7 years ago
parent
commit
feda1e6554
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/channels/application_cable/connection.rb

+ 2
- 0
app/channels/application_cable/connection.rb View File

@ -16,6 +16,8 @@ module ApplicationCable
else
reject_unauthorized_connection
end
rescue :warden
reject_unauthorized_connection
end
end
end

Loading…
Cancel
Save