-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Security] Remove deprecated RememberMeToken::getSecret()
#61011
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
[Security] Remove deprecated RememberMeToken::getSecret()
#61011
Conversation
RememberMeToken::getSecret()
and RememberMeToken's $secret
property
src/Symfony/Component/Security/Core/Authentication/Token/RememberMeToken.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Security/Core/Authentication/Token/RememberMeToken.php
Outdated
Show resolved
Hide resolved
002f9c9
to
63e71e7
Compare
RememberMeToken::getSecret()
and RememberMeToken's $secret
propertyRememberMeToken::getSecret()
and RememberMeToken's $secret
property
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After the discussion with Oskar is resolved 🙂
src/Symfony/Component/Security/Core/Authentication/Token/RememberMeToken.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the constructor of the RememberMeAuthenticator
class also has to be updated
In which way ? I've removed the deprecation notice there : https://github.com/symfony/symfony/pull/61011/files#diff-8cdcb3fe63f51aca31c4a5869e39ffdfcc793d9d855df4498528a56e1bbd32cdL35-L39. Is there something I missed updating this ? |
@ktherage That's the token, but there also is an authenticator class. |
799ce91
to
9767a2a
Compare
@xabbuh I did it and rebased. Sorry for this forgetfulness. |
src/Symfony/Component/Security/Core/Authentication/Token/RememberMeToken.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Security/Core/Authentication/Token/RememberMeToken.php
Outdated
Show resolved
Hide resolved
RememberMeToken::getSecret()
and RememberMeToken's $secret
propertyRememberMeToken::getSecret()
9767a2a
to
6b614c5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did the missing UPGRADE + CHANGELOG files updates + simplified the serialization logic.
src/Symfony/Component/Security/Http/Authenticator/RememberMeAuthenticator.php
Outdated
Show resolved
Hide resolved
6b614c5
to
a844f14
Compare
a844f14
to
2fea866
Compare
Thank you @ktherage. |
Uh oh!
There was an error while loading. Please reload this page.