Skip to content

[make:user] Dont generate UserInterface::eraseCredentials with symfony >= 7.3 #1701

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

Closed

Conversation

alamirault
Copy link
Contributor

Fix #1700

$this->addEraseCredentials($manipulator);
/* @legacy - Remove "eraseCredentials()" when Symfony 7.4 is no longer supported */
if(Kernel::VERSION_ID < 70300){
$this->addEraseCredentials($manipulator);
Copy link
Contributor Author

@alamirault alamirault May 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how to deal with tests and fixtures in tests/Security/fixtures/expected/*.php

Can tell me what to do (to be compatible with 7.3) ?

@alamirault alamirault force-pushed the feature/1700-user-erase-credentials branch from 6e7e8a3 to 0965537 Compare May 9, 2025 10:13
kbond added a commit that referenced this pull request May 13, 2025
…raseCredentials() (nicolas-grekas)

This PR was merged into the 1.x branch.

Discussion
----------

[make:user] Hash passwords using crc32c and deprecate eraseCredentials()

Fix #1700
Replace ##1701

Commits
-------

75886fb [make:user] Hash passwords using crc32c and deprecate eraseCredentials()
@kbond
Copy link
Member

kbond commented May 13, 2025

Thanks @alamirault, it's been fixed in #1703.

@kbond kbond closed this May 13, 2025
@alamirault alamirault deleted the feature/1700-user-erase-credentials branch May 13, 2025 15:04
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.

[make:user] UserInterface::eraseCredentials is deprecated
2 participants