You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure what yar should do, probably revoke the cookie(s) as it's technically invalid or just use the first valid one.
I know this isn't exactly intended behaviour but this came up when a colleague was debugging some of our endpoints with postman which for whatever reason duplicated cookies.
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
lockbot
locked as resolved and limited conversation to collaborators
Jan 9, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Apparently https://github.com/hapijs/yar/blob/master/lib/index.js#L85
request.state[settings.name]
can be an array, not just an object,yar
should probably handle that.I am not sure what yar should do, probably revoke the cookie(s) as it's technically invalid or just use the first valid one.
I know this isn't exactly intended behaviour but this came up when a colleague was debugging some of our endpoints with postman which for whatever reason duplicated cookies.
The text was updated successfully, but these errors were encountered: