Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Security] Fix RememberMe with null password #35343

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

Merged
merged 1 commit into from
Jan 16, 2020

Conversation

jderusse
Copy link
Member

Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? yes
Tickets NA
License MIT
Doc PR NA

From UserInterface the method getPassword may return null, while generateCookieHash requires a string.
This PR changes the signature of the methods to allows null password

Similar to #35335 for branch 3.4

@chalasr chalasr added this to the 3.4 milestone Jan 15, 2020
@chalasr
Copy link
Member

chalasr commented Jan 16, 2020

Good catch, thanks @jderusse.

chalasr added a commit that referenced this pull request Jan 16, 2020
This PR was merged into the 3.4 branch.

Discussion
----------

[Security] Fix RememberMe with null password

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | yes
| Tickets       | NA
| License       | MIT
| Doc PR        | NA

From `UserInterface` the method getPassword may return null, while generateCookieHash requires a string.
This PR changes the signature of the methods to allows null password

Similar to #35335 for branch 3.4

Commits
-------

820eb35 Fix RememberMe with null password
@chalasr chalasr merged commit 820eb35 into symfony:3.4 Jan 16, 2020
@jderusse jderusse deleted the remember-pass-null-34 branch March 5, 2020 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants