We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceb48c2 commit 5f03c84Copy full SHA for 5f03c84
1 file changed
djangosaml2/backends.py
@@ -263,7 +263,7 @@ def get_or_create_user(
263
attribute_mapping: dict,
264
request,
265
) -> tuple[Optional[settings.AUTH_USER_MODEL], bool]:
266
- """Look up the user to authenticate. If he doesn't exist, this method creates him (if so desired).
+ """Look up the user to authenticate. If they doesn't exist, this method creates them (if so desired).
267
The default implementation looks only at the user_identifier. Override this method in order to do more complex behaviour,
268
e.g. customize this per IdP.
269
"""
@@ -277,7 +277,6 @@ def get_or_create_user(
277
): user_lookup_value
278
}
279
280
- # Lookup existing user
281
# Lookup existing user
282
user, created = None, False
283
try:
0 commit comments