mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 13:17:13 +00:00
Catch warden throw in actioncable
This commit is contained in:
parent
70e9dd0b5b
commit
feda1e6554
|
@ -16,6 +16,8 @@ module ApplicationCable
|
|||
else
|
||||
reject_unauthorized_connection
|
||||
end
|
||||
rescue :warden
|
||||
reject_unauthorized_connection
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue