Skip to content

Conversation

@landswellsong
Copy link

The logincheck cookie is sticky and persists through server restart and PHP cookie purge. Rolling the field as a component of $_SESSION in order to allow the operator to force logout by removing sessions and not to send the password hash around every request (should be safe, but why do it if session serves the same purpose and is furthermore ephemeral).

Note: I'm not a web-dev, just something I ran into. Pls review.

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.

1 participant