mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
remove redundant jwt rescue
This commit is contained in:
1 parent
cc5694de43
commit
5162f9a9dc
1 file changed
-2
@@ -15,7 +15,5 @@ class AuthWithTokenStrategy < Devise::Strategies::Base
|
||||
else
|
||||
fail!('Invalid token')
|
||||
end
|
||||
rescue JWT::VerificationError
|
||||
fail!('Invalid token')
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user