From 4c72cc583e85fb1a3e823ca953319190dd1cf976 Mon Sep 17 00:00:00 2001 From: Diego Cohen Date: Wed, 6 Mar 2024 12:16:45 -0500 Subject: [PATCH 1/3] Pass req.cookies into initializePatronTokenAuth --- pages/search/advanced.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/search/advanced.tsx b/pages/search/advanced.tsx index 5b302d428..655703f70 100644 --- a/pages/search/advanced.tsx +++ b/pages/search/advanced.tsx @@ -304,7 +304,7 @@ export default function AdvancedSearch({ isAuthenticated }) { } export async function getServerSideProps({ req }) { - const patronTokenResponse = await initializePatronTokenAuth(req) + const patronTokenResponse = await initializePatronTokenAuth(req.cookies) const isAuthenticated = patronTokenResponse.isTokenValid return { props: { isAuthenticated }, From 2b45d0ba0b4bee707cd60317641572714d170744 Mon Sep 17 00:00:00 2001 From: Diego Cohen Date: Wed, 6 Mar 2024 14:36:59 -0500 Subject: [PATCH 2/3] Add change to changelog --- CHANGELOG | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 6f187c372..50af23c0a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.1] 2024-03-06 + +### Fixes + +- Fixed logout button not appearing on Advanced Search page (SCC-4028) + + ## [1.0.0] 2024-03-04 ## Release Notes From b6cbbc0f450dfed9d922da85ca6273c03d84e4b8 Mon Sep 17 00:00:00 2001 From: Diego Cohen Date: Wed, 6 Mar 2024 14:37:44 -0500 Subject: [PATCH 3/3] Remove whitespace --- CHANGELOG | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 50af23c0a..155321790 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -11,7 +11,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed logout button not appearing on Advanced Search page (SCC-4028) - ## [1.0.0] 2024-03-04 ## Release Notes