Commit 6dcce983 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'sh-fix-static-analysis-jira' into 'master'

Fix broken static-analysis on master

Closes #14632

See merge request gitlab-org/gitlab-ee!15927
parents e3987815 543f05ca
......@@ -8,9 +8,6 @@ require 'digest'
module Atlassian
module Jwt
class << self
CANONICAL_QUERY_SEPARATOR = '&'
ESCAPED_CANONICAL_QUERY_SEPARATOR = '%26'
def decode(token, secret, validate = true, options = {})
options = { algorithm: 'HS256' }.merge(options)
::JWT.decode(token, secret, validate, options)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment