Skip to content

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