1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/services
CaiCandong 7ad31567cd
Fix ldap admin privileges update bug (#27051)
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
2023-10-01 11:32:12 +00:00
..
actions Add a new column schedule_id for action_run to track (#26975) 2023-09-08 23:01:19 +08:00
agit Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
asymkey make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
attachment make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
auth Fix ldap admin privileges update bug (#27051) 2023-10-01 11:32:12 +00:00
automerge Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
context Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
convert More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
cron More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
externalaccount More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
feed More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
forms Add support for forking single branch (#25821) 2023-09-29 09:48:39 +08:00
gitdiff make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
indexer Update status and code index after changing the default branch (#27018) 2023-09-13 04:43:31 +00:00
issue More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
lfs Bump github.com/golang-jwt/jwt to v5 (#25975) 2023-07-19 09:57:10 +00:00
mailer make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
markup make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
migrations More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
mirror More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
notify Update status and code index after changing the default branch (#27018) 2023-09-13 04:43:31 +00:00
org make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
packages Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
pull More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
release make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
repository Add support for forking single branch (#25821) 2023-09-29 09:48:39 +08:00
secrets Refactor secrets modification logic (#26873) 2023-09-05 15:21:02 +00:00
task Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
uinotification More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
user make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
webhook make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
wiki make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00