Skip to content

Commit

Permalink
Fix up invalid reference to users in backend
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisKSeal committed Mar 4, 2024
1 parent a2c657a commit 582176e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/apps/single_sign_on/auth/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def configure_user( # type:ignore
first_name = request.META[settings.REMOTE_AUTH_FIRST_NAME_HEADER]
surname = request.META[settings.REMOTE_AUTH_SURNAME_HEADER]
orcid = None
if "identifiers" in settings.INSTALLED_APPS and "users" in settings.OBJECTS_WITH_IDENTIFIERS:
if "identifiers" in settings.INSTALLED_APPS and "user" in settings.OBJECTS_WITH_IDENTIFIERS:
orcid = request.META[settings.REMOTE_AUTH_ORCID_HEADER] or None
updated_flag = False
if user.first_name != first_name:
Expand Down

0 comments on commit 582176e

Please sign in to comment.