We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/boomzillawtf/tdwtf/tree/4866fca68b869575725e29627b5768ea868aa7fc 3df7bae
Sessions cannot be revoked for other users because this line retrieves the current user's sessions:
NodeBB/src/controllers/accounts/session.js
Line 19 in 3df7bae
Instead of req.uid, it should use req.locals.uid, which is set by middleware.exposeUid
req.uid
req.locals.uid
middleware.exposeUid
The text was updated successfully, but these errors were encountered:
/cc @pauljherring @boomzillawtf
Sorry, something went wrong.
Ouch. So you couldn't have done it when I asked anyway?
Thanks for triaging this but 😄
60a97bc
- Fixed: admins cannot revoke sessions owned by other users <NodeBB/N…
b189406
…odeBB#4856> - Fixed: permanent bans from the user's profile <NodeBB/NodeBB#4855> - Fixed: "opening a topic page in background tab in Firefox 46.0.1 makes the page bugged" <NodeBB-Community/nodebb-plugin-emoji-extended@668d4ca>
julianlam
No branches or pull requests
https://github.com/boomzillawtf/tdwtf/tree/4866fca68b869575725e29627b5768ea868aa7fc
3df7bae
Sessions cannot be revoked for other users because this line retrieves the current user's sessions:
NodeBB/src/controllers/accounts/session.js
Line 19 in 3df7bae
Instead of
req.uid
, it should usereq.locals.uid
, which is set bymiddleware.exposeUid
The text was updated successfully, but these errors were encountered: