Skip to content
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

pass only strings to loadUserByUsername() #7912

Merged
merged 1 commit into from
May 18, 2017
Merged

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented May 17, 2017

This completes #7065 as since the change made there the token key can refer to null.

@xabbuh xabbuh merged commit a47ed88 into symfony:2.8 May 18, 2017
xabbuh added a commit that referenced this pull request May 18, 2017
This PR was merged into the 2.8 branch.

Discussion
----------

pass only strings to loadUserByUsername()

This completes #7065 as since the change made there the `token` key can refer to `null`.

Commits
-------

a47ed88 pass only strings to loadUserByUsername()
@xabbuh xabbuh deleted the pr-7065 branch May 18, 2017 08:31
if (null === $apiKey) {
return;
}

// if null, authentication will fail
Copy link
Contributor

Choose a reason for hiding this comment

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

This comment should be removed then.

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed in cef0de9

xabbuh added a commit that referenced this pull request Jul 26, 2017
xabbuh added a commit that referenced this pull request Aug 1, 2017
* 2.8:
  [#8211] minor reword
  Reword
  Update language.rst
  Mention lazy loading for Doctrine event listeners
  Documented the WebProfilerBundle configuration
  Typo fixed in a doctrine docs
  [#8245] link text directly
  Link to '"creating a reproducer" in "reporting a bug"
  Removed an extra line
  Updated xml config
  [Form] [RepeatedType] Update "type" default value
  Fixed entity manager service name
  [#7912] remove obsolete comment
  Removed tabs in 2.8 docs
  Removed tabs in 2.7 docs
  Added docs for "date" and "number_format" Twig options
xabbuh added a commit that referenced this pull request Aug 1, 2017
* 3.2:
  [#8211] minor reword
  Reword
  Update language.rst
  Mention lazy loading for Doctrine event listeners
  Documented the WebProfilerBundle configuration
  Add pipe to dump command
  Update event_dispatcher.rst
  Typo fixed in a doctrine docs
  [#8245] link text directly
  Link to '"creating a reproducer" in "reporting a bug"
  Removed an extra line
  Updated xml config
  applying comment from @wouterj
  [Form] [RepeatedType] Update "type" default value
  Fixed entity manager service name
  [#7912] remove obsolete comment
  Removed tabs in 2.8 docs
  Removed tabs in 2.7 docs
  Added docs for "date" and "number_format" Twig options
  Added docs for the cache:pool:clear command
xabbuh added a commit that referenced this pull request Aug 1, 2017
* 3.3: (28 commits)
  [#8211] minor reword
  Reword
  Update language.rst
  Mention lazy loading for Doctrine event listeners
  Documented the WebProfilerBundle configuration
  Fixed usage of default configuration in PHP
  Some typos
  Add pipe to dump command
  Update event_dispatcher.rst
  Typo fixed in a doctrine docs
  [#8245] link text directly
  Link to '"creating a reproducer" in "reporting a bug"
  Removed an extra line
  Updated xml config
  applying comment from @wouterj
  [Form] [RepeatedType] Update "type" default value
  Adds a missing semicolon
  Added missing "," in encore/legacy-apps doc
  Fixed entity manager service name
  [#7912] remove obsolete comment
  ...
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.

3 participants