summaryrefslogtreecommitdiffstats
path: root/web_src/js
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-06-20 01:11:22 -0400
committerGitHub <noreply@github.com>2023-06-20 13:11:22 +0800
commitdfefe860456ffc94cac25d4670a3ddbeb3c18d35 (patch)
tree1721a4e14ba5569bb2c9c530d82f04cfc09eeb11 /web_src/js
parent10fcb55507339767863757ffaa4ae5b0e5b94c89 (diff)
downloadgitea-dfefe860456ffc94cac25d4670a3ddbeb3c18d35.tar.gz
gitea-dfefe860456ffc94cac25d4670a3ddbeb3c18d35.zip
Fix LDAP sync when Username Attribute is empty (#25278) (#25379)
Backport #25278 by @Zettat123 Fix #21072 ![image](https://github.com/go-gitea/gitea/assets/15528715/96b30beb-7f88-4a60-baae-2e5ad8049555) Username Attribute is not a required item when creating an authentication source. If Username Attribute is empty, the username value of LDAP user cannot be read, so all users from LDAP will be marked as inactive by mistake when synchronizing external users. This PR improves the sync logic, if username is empty, the email address will be used to find user. Co-authored-by: Zettat123 <zettat123@gmail.com>
Diffstat (limited to 'web_src/js')
0 files changed, 0 insertions, 0 deletions