Skip to content

Commit

Permalink
fix: fixed session management state fallback cookie name
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Sep 27, 2019
1 parent c65e039 commit 91b0dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/actions/check_session.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function receiveMessage(e) {
function getOPBrowserState(clientId) {
var cookie = readCookie('${ctx.oidc.provider.cookieName('state')}.' + clientId);
if (cookie === null) {
cookie = readCookie('${ctx.oidc.provider.cookieName('state')}.legacy' + clientId);
cookie = readCookie('${ctx.oidc.provider.cookieName('state')}.' + clientId + '.legacy');
}
return cookie;
}
Expand Down

0 comments on commit 91b0dea

Please sign in to comment.