Skip to content

Commit

Permalink
fix random_string reference in codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Apr 25, 2024
1 parent 1d62719 commit a493a88
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions kong/plugins/oauth2/access.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
local url = require "socket.url"
local utils = require "kong.tools.utils"
local constants = require "kong.constants"
local timestamp = require "kong.tools.timestamp"
local secret = require "kong.plugins.oauth2.secret"
Expand All @@ -13,15 +12,15 @@ local type = type
local next = next
local table = table
local error = error
local split = utils.split
local strip = utils.strip
local split = require("kong.tools.string").split
local strip = require("kong.tools.string").strip
local string_find = string.find
local string_gsub = string.gsub
local string_byte = string.byte
local check_https = utils.check_https
local encode_args = utils.encode_args
local random_string = utils.random_string
local table_contains = utils.table_contains
local check_https = require("kong.tools.http").check_https
local encode_args = require("kong.tools.http").encode_args
local random_string = require("kong.tools.rand").random_string
local table_contains = require("kong.tools.table").table_contains


local ngx_decode_args = ngx.decode_args
Expand Down

0 comments on commit a493a88

Please sign in to comment.