@ -9,14 +9,11 @@ module ApplicationCable
protected
def find_verified_user
verified_user = env['warden'].user
if verified_user
verified_user
else
reject_unauthorized_connection
catch :warden do
return verified_user if verified_user
end
rescue :warden