You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services
Johan Van de Wauw 0cc2675c44
Fix ldap loginname (#18789)
* Use email_address table to check user's email when login with email adress

* Update services/auth/signin.go

* Fix test

* Fix test

* Fix logging in with ldap username != loginname

* Fix if user does not exist yet

* Make more clear this is loginName

* Fix formatting

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
3 years ago
..
agit Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
asymkey Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
attachment Simplify parameter types (#18006) 3 years ago
auth Fix ldap loginname (#18789) 3 years ago
comments format with gofumpt (#18184) 3 years ago
cron Fix the missing i18n key for update checker (#18646) 3 years ago
externalaccount Refactor auth package (#17962) 3 years ago
forms Add LDAP group sync to Teams, fixes #1395 (#16299) 3 years ago
gitdiff Prevent dangling GetAttribute calls (#18754) 3 years ago
issue format with gofumpt (#18184) 3 years ago
lfs Refactor jwt.StandardClaims to RegisteredClaims (#18344) 3 years ago
mailer Fix `make fmt` and `make fmt-check` (#18633) 3 years ago
migrations Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
mirror Change git.cmd to RunWithContext (#18693) 3 years ago
org Move repository model into models/repo (#17933) 3 years ago
pull Change git.cmd to RunWithContext (#18693) 3 years ago
release Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
repository Fix forked repositories missed tags (#18719) 3 years ago
task Pause queues (#15928) 3 years ago
user Move keys to models/asymkey (#17917) 3 years ago
webhook Add packagist webhook (#18224) 3 years ago
wiki Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago