summaryrefslogtreecommitdiffstats
path: root/models/user/user_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix ldap loginname (#18789) (#18804)Lunny Xiao2022-02-221-0/+14
| | | | | | | | | | | | | | | | | | | | | | | * 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> Co-authored-by: Johan Van de Wauw <johan@gisky.be> Co-authored-by: zeripath <art27@cantab.net>
* Refactor auth package (#17962)Lunny Xiao2022-01-021-2/+2
|
* Fix database inconsistent when admin change user email (#17549)Lunny Xiao2021-11-251-3/+3
|
* Move user related model into models/user (#17781)Lunny Xiao2021-11-241-0/+355
* Move user related model into models/user * Fix lint for windows * Fix windows lint * Fix windows lint * Move some tests in models * Merge