Catch warden throw in actioncable

This commit is contained in:
Eugen Rochko 2016-10-03 19:10:56 +02:00
parent 70e9dd0b5b
commit feda1e6554
1 changed files with 2 additions and 0 deletions

View File

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