Commit Graph

5 Commits (9bcbbd419fba4fc9eed724746a42e22028d47625)

Author SHA1 Message Date
6543 1cb649525d
Restrict email address validation () ()
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Lunny Xiao f5a3c0dd6c
Fix ldap loginname () ()
* 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>
Lunny Xiao de8e3948a5
Refactor auth package ()
Lunny Xiao 371ebce252
Fix database inconsistent when admin change user email ()
Lunny Xiao a666829a37
Move user related model into models/user ()
* Move user related model into models/user

* Fix lint for windows

* Fix windows lint

* Fix windows lint

* Move some tests in models

* Merge