Skip to content

Use hash_equals for email #425

@Rahe

Description

@Rahe

Hello,

On

if ( empty( $hashed_token ) || ( wp_hash( $token ) !== $hashed_token ) ) {
the hashes are compared with !==.
It seems better to compare them with the function hash_equals instead.

Nicolas,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions