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

Add check in DbTable Authentication Adapter for empty results when AmbiguityIdentity is TRUE #419

Merged

Conversation

rruchte
Copy link

@rruchte rruchte commented May 2, 2024

Add check in DbTable Authentication Adapter for empty results when AmbiguityIdentity is TRUE

fixes #417

Previously, _authenticateValidateResult expected a valid identity record to be passed as an argument, leading to an error when AmbiguityIdentity is TRUE but no matching identity records were found. Now, it gracefully handles the condition and sends the same failure message that _authenticateValidateResultSet sends when no matching records are found.

…biguityIdentity is TRUE

Previously, _authenticateValidateResult expected a valid identity record to be passed as an argument, leading to an error when AmbiguityIdentity is TRUE but no matching identity records were found. Now, it gracefully handles the condition and sends the same failure message that _authenticateValidateResultSet sends when no matching records are found.
@develart-projects develart-projects added the bug Something isn't working label Jul 22, 2024
@develart-projects develart-projects added this to the 1.24.1 milestone Jul 22, 2024
@develart-projects develart-projects merged commit 5ca64ea into Shardj:master Jul 22, 2024
1 of 8 checks passed
@develart-projects develart-projects added the to be released PR exists or in master, but not released yet label Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working to be released PR exists or in master, but not released yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error on Zend_Auth_Adapter_DbTable with AmbiguityIdentity = true
2 participants