diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-03 19:10:56 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-03 19:10:56 +0200 |
commit | feda1e65541b5c723565d1687998a975f0d95633 (patch) | |
tree | 99a8d5318dbfc880eb59e0204dac3961dce52d5f /app | |
parent | 70e9dd0b5b2c4b2d695334d8b63c6d58cb1619d8 (diff) |
Catch warden throw in actioncable
Diffstat (limited to 'app')
-rw-r--r-- | app/channels/application_cable/connection.rb | 2 |
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 |