diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2022-04-08 14:13:47 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-08 14:13:47 +1000 |
| commit | ce6bf74c8d9013171066482c628c9e60fe6c741e (patch) | |
| tree | c61cd60de5d86779b37eda687bf24e54cc43360b /internal/handlers/handler_logout_test.go | |
| parent | 90edf11b88a23c2a6ce68a7ab71e3c2fbad9118d (diff) | |
fix(server): incorrect remote ip logged in error handler (#3139)
This fixes edge cases where the remote IP was not correctly logged. Generally this is not an issue as most errors do not hit this handler, but in instances where a transport error occurs this is important.
Diffstat (limited to 'internal/handlers/handler_logout_test.go')
| -rw-r--r-- | internal/handlers/handler_logout_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/handlers/handler_logout_test.go b/internal/handlers/handler_logout_test.go index b8ab630eb..1b14f2e1a 100644 --- a/internal/handlers/handler_logout_test.go +++ b/internal/handlers/handler_logout_test.go @@ -30,7 +30,7 @@ func (s *LogoutSuite) TearDownTest() { } func (s *LogoutSuite) TestShouldDestroySession() { - LogoutPost(s.mock.Ctx) + LogoutPOST(s.mock.Ctx) b := s.mock.Ctx.Response.Header.PeekCookie("authelia_session") // Reset the cookie, meaning it resets the value and expires the cookie by setting |
