Skip to content

Commit

Permalink
remove redundant jwt rescue
Browse files Browse the repository at this point in the history
  • Loading branch information
omohokcoj committed Nov 12, 2023
1 parent cc5694d commit 5162f9a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/auth_with_token_strategy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@ def authenticate!
else
fail!('Invalid token')
end
rescue JWT::VerificationError
fail!('Invalid token')
end
end

0 comments on commit 5162f9a

Please sign in to comment.