remove redundant jwt rescue

This commit is contained in:
Pete Matsyburka
2023-11-12 12:48:09 +02:00
parent cc5694de43
commit 5162f9a9dc
-2
View File
@@ -15,7 +15,5 @@ class AuthWithTokenStrategy < Devise::Strategies::Base
else
fail!('Invalid token')
end
rescue JWT::VerificationError
fail!('Invalid token')
end
end