Skip to content

Commit

Permalink
Merge pull request #135 from NYPL/qa
Browse files Browse the repository at this point in the history
Merge Logout Link bugfix into production
  • Loading branch information
dgcohen authored Mar 7, 2024
2 parents 6483dd8 + 52976fc commit 4786dd8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pages/search/advanced.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 4786dd8

Please sign in to comment.