Skip to content

Commit

Permalink
fix: LDAP HA the login log did not record the authentication backend
Browse files Browse the repository at this point in the history
  • Loading branch information
w940853815 authored and BaiJiangJie committed Sep 18, 2024
1 parent 5135086 commit 0dc9214
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/users/models/user/_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class SourceMixin:
settings.AUTH_BACKEND_PUBKEY,
],
Source.ldap: [settings.AUTH_BACKEND_LDAP],
Source.ldap_ha: [settings.AUTH_BACKEND_LDAP_HA],
Source.openid: [
settings.AUTH_BACKEND_OIDC_PASSWORD,
settings.AUTH_BACKEND_OIDC_CODE,
Expand Down

0 comments on commit 0dc9214

Please sign in to comment.