summaryrefslogtreecommitdiff
path: root/internal/handlers/handler_logout_test.go
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2022-04-08 14:13:47 +1000
committerGitHub <noreply@github.com>2022-04-08 14:13:47 +1000
commitce6bf74c8d9013171066482c628c9e60fe6c741e (patch)
treec61cd60de5d86779b37eda687bf24e54cc43360b /internal/handlers/handler_logout_test.go
parent90edf11b88a23c2a6ce68a7ab71e3c2fbad9118d (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.go2
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