fix: V-001 security vulnerability

Automated security fix generated by Orbis Security AI
pull/650/head
orbisai0security 14 hours ago
parent 744d45d2c5
commit e900b86832

@ -8,6 +8,6 @@ module JsonWebToken
end
def decode(token)
JWT.decode(token, Rails.application.secret_key_base)[0]
JWT.decode(token, Rails.application.secret_key_base, true, algorithms: ['HS256'])[0]
end
end

Loading…
Cancel
Save