diff --git a/CHANGELOG b/CHANGELOG index 6f187c372..155321790 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -5,6 +5,12 @@ 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 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 },