Skip to content

Conversation

@engine-turning
Copy link

The cookie previously contained sensitive user information which poses
a security risk.

Greg added 2 commits April 15, 2015 09:36
Storing sensitive user information in a cookie is a security risk.
The cookie previously contained sensitive user information which poses
a security risk.
@giastfader
Copy link
Member

Hi,
I see the potential problem, but in this way the semantic of getCurrentUser() is totally different. It no longer returns the current user with all their attribute but the session token.
getCurrentUser() should ask to the server the actual data instead of rely on cookies/local storage, and a new getSessionToken() should be implemented.
WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants