Skip to content

Default collation of column 'selector' in table reset_password_request (ResetPasswordRequestTrait::selector) ignored letter case #335

@gorenstein

Description

@gorenstein

What

By default the column 'selector' created with collation '*_ci', for example 'utf8mb4_unicode_ci'.
This leads to a decrease in the code's resistance to brute-force attacks.

Why

Collation '*_ci': this causes the differences in uppercase and lowercase letters to be ignored when fetching from the database by this field.

What to do

Explicitly set collation without ignoring letter case for ResetPasswordRequestTrait::selector.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions