mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-11-05 17:01:10 +00:00
When the user does not set a username lookup condition, LDAP will get an empty string `""` for the user, hence the following code ``` if isExist, err := user_model.IsUserExist(db.DefaultContext, 0, sr.Username) ``` The user presence determination will always be nonexistent, so updates to user information will never be performed. Fix #27049 |
||
|---|---|---|
| .. | ||
| db | ||
| ldap | ||
| oauth2 | ||
| pam | ||
| smtp | ||
| sspi | ||
| source_group_sync.go | ||