Skip to content

Honor config option for username field#781

Merged
ajibarra merged 4 commits into
CakeDC:8.nextfrom
half2me:username-field
Mar 22, 2019
Merged

Honor config option for username field#781
ajibarra merged 4 commits into
CakeDC:8.nextfrom
half2me:username-field

Conversation

@half2me

@half2me half2me commented Mar 19, 2019

Copy link
Copy Markdown
Contributor

Instead of using the username field, this checks the config.
Also, if the $this->_findUser() method is not called, the value returned will be a user entity instead of an array, causing the authentication to fail.

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #781 into 8.next will decrease coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##             8.next    #781      +/-   ##
===========================================
- Coverage     81.62%   81.6%   -0.02%     
+ Complexity      606     605       -1     
===========================================
  Files            61      61              
  Lines          1872    1870       -2     
===========================================
- Hits           1528    1526       -2     
  Misses          344     344
Impacted Files Coverage Δ Complexity Δ
src/Auth/SocialAuthenticate.php 53.89% <100%> (-0.55%) 76 <0> (-1)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0c4a009...d873aed. Read the comment docs.

@ajibarra
ajibarra merged commit 6582e41 into CakeDC:8.next Mar 22, 2019
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.

3 participants