Skip to content
New issue

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

Security: Don't store unhased passwords in sessions #6

Closed
PhrozenByte opened this issue Sep 13, 2017 · 0 comments
Closed

Security: Don't store unhased passwords in sessions #6

PhrozenByte opened this issue Sep 13, 2017 · 0 comments

Comments

@PhrozenByte
Copy link

$_SESSION[$fp]['password'] = $pass;

You should never store the unhashed password in the session, attackers might be able to read session files. Simply store the hashed password instead.

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

No branches or pull requests

1 participant