remove redundant jwt rescue

pull/142/head
Pete Matsyburka 2 years ago
parent cc5694de43
commit 5162f9a9dc

@ -15,7 +15,5 @@ class AuthWithTokenStrategy < Devise::Strategies::Base
else else
fail!('Invalid token') fail!('Invalid token')
end end
rescue JWT::VerificationError
fail!('Invalid token')
end end
end end

Loading…
Cancel
Save