Nodebb: Wrong cookie being cleared on logout

Created on 17 Dec 2019  Â·  1Comment  Â·  Source: NodeBB/NodeBB

  • NodeBB version: 1.13.0
  • NodeBB git hash: c6ef148

Hi,

it looks like latest refactor broke logging out in a situation where you use a non-standard session cookie name, resulting in "Session Mismatch" errors on every pageview after logging out: https://forums.opera.com/topic/37044/pop-up-it-looks-like-your-login-is-no-longer-active

After investigation I believe the culprit is the hardcoded cookie name:
Fix_wrong_session_cookie_being_cleared_on_logout.txt

That fixes the problem for us.

bug

Most helpful comment

Thanks @attis

>All comments

Thanks @attis

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AliCihan picture AliCihan  Â·  4Comments

cryptoethic picture cryptoethic  Â·  4Comments

tgmatt picture tgmatt  Â·  5Comments

aStonedPenguin picture aStonedPenguin  Â·  4Comments

jidanni picture jidanni  Â·  5Comments