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

Fix library ID handling during patron auth #42

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

attemoi
Copy link
Contributor

@attemoi attemoi commented Apr 10, 2024

Description

The current logic is flawed in that it does not recognize if a patron has already signed in and been assigned to a library. When authenticating, the patron lookup is filtered by library id (of the default library), and the existing patron is not found.

Now changed to search for patrons within any library so it finds (and updates) the existing patron instead of trying to create a duplicate.

This issue was introduced in an earlier PR (#30).

@attemoi attemoi force-pushed the bugfix/simplye-263/patron-auth branch from b650580 to 2aeefe8 Compare April 10, 2024 13:45
@attemoi attemoi merged commit 2ab9006 into main Apr 10, 2024
24 checks passed
@attemoi attemoi deleted the bugfix/simplye-263/patron-auth branch April 10, 2024 17:23
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.

2 participants