Skip to content

Worth mentioning for passwords #991

Open
@github-scx

Description

@github-scx

I think it would be worth mentioning the #[SensitiveParameter] they added. It will make it so that the variable doesn't get thrown in stack dumps, or log files internally to PHP. This is in 8.2, and I think it makes it a little more secure.

public function login(string $email, #[SensitiveParameter] string $password)
{
echo 'login';
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions