Skip to content

Commit

Permalink
Merge pull request #52 from holaplex/mpw/fix-redirect
Browse files Browse the repository at this point in the history
remove status code from return when no session is found
  • Loading branch information
mpwsh authored Apr 4, 2023
2 parents e1336b5 + b5d8916 commit 25f2116
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/hub-gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)

version: "0.9.2"
version: "0.9.3"

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 1 addition & 3 deletions charts/hub-gateway/plugins/session.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ function _M.access(conf, ctx)
local session_token = cookie_value

if not session_token then
return 401, json.encode({
message = "session_cookie not found not found"
})
return
end

local kratos_cookie = session_cookie_name .. "=" .. session_token
Expand Down

0 comments on commit 25f2116

Please sign in to comment.