Catch warden throw in actioncable
This commit is contained in:
1 parent
70e9dd0b5b
commit
feda1e6554
1 file changed
+2
@@ -16,6 +16,8 @@ module ApplicationCable
|
||||
else
|
||||
reject_unauthorized_connection
|
||||
end
|
||||
rescue :warden
|
||||
reject_unauthorized_connection
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user