From 1c170988c875ce0c4e4664eb43d0c89650cf05e6 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Fri, 19 Sep 2025 13:51:11 -0400 Subject: [PATCH] fix: mend auth cookie name stutter (#1139) Signed-off-by: Xe Iaso --- anubis.go | 2 +- docs/docs/CHANGELOG.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/anubis.go b/anubis.go index 225a47ea..853fb244 100644 --- a/anubis.go +++ b/anubis.go @@ -11,7 +11,7 @@ var Version = "devel" // CookieName is the name of the cookie that Anubis uses in order to validate // access. -var CookieName = "techaro.lol-anubis-auth" +var CookieName = "techaro.lol-anubis" // TestCookieName is the name of the cookie that Anubis uses in order to check // if cookies are enabled on the client's browser. diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md index 8b2c9aa6..948ff93a 100644 --- a/docs/docs/CHANGELOG.md +++ b/docs/docs/CHANGELOG.md @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add validation warning when persistent storage is used without setting signing keys. - Fixed `robots2policy` to properly group consecutive user agents into `any:` instead of only processing the last one ([#925](https://github.com/TecharoHQ/anubis/pull/925)). - Add the [`s3api` storage backend](./admin/policies.mdx#s3api) to allow Anubis to use S3 API compatible object storage as its storage backend. +- Fix a "stutter" in the cookie name prefix so the auth cookie is named `techaro.lol-anubis-auth` instead of `techaro.lol-anubis-auth-auth`. - Make `cmd/containerbuild` support commas for separating elements of the `--docker-tags` argument as well as newlines. - Add the `DIFFICULTY_IN_JWT` option, which allows one to add the `difficulty` field in the JWT claims which indicates the difficulty of the token ([#1063](https://github.com/TecharoHQ/anubis/pull/1063)). - Ported the client-side JS to TypeScript to avoid egregious errors in the future.