Skip to content

Feature/session storage#32

Open
engine-turning wants to merge 2 commits intobaasbox:masterfrom
engine-turning:feature/session_storage
Open

Feature/session storage#32
engine-turning wants to merge 2 commits intobaasbox:masterfrom
engine-turning:feature/session_storage

Conversation

@engine-turning
Copy link
Copy Markdown

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
Copy Markdown
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