Skip to content

Commit

Permalink
Clarify a comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdilauro committed Jul 11, 2024
1 parent b09bd79 commit 9f84c7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/palace/manager/api/sip/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,9 @@ def _enforce_patron_location_restriction(
"""Raise an exception if patron location does not match the restriction.
If a location restriction is specified for the library against which the
patron is attempting to authenticate, then the authentication will fail unless
the location associated with the patron exactly matches that of the library.
patron is attempting to authenticate, then the authentication will fail
if either (1) the patron does not have an associated location or (2) the
patron's location does not exactly match the one configured.
"""
if (
not isinstance(info, ProblemDetail)
Expand Down

0 comments on commit 9f84c7d

Please sign in to comment.