Commit Graph

12 Commits (main)

Author SHA1 Message Date
Lunny Xiao 3a4a1bffbe
Make oauth2 code clear. Move oauth2 provider code to their own packages/files (#32148) 2 months ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
Lunny Xiao 1bf5527eac
Refactor Find Sources and fix bug when view a user who belongs to an unactive auth source (#27798) 1 year ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 1 year ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
zeripath 9d855bd6a1
Simplify Gothic to use our session store instead of creating a different store (#17507) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
zeripath 72738f0cb5
Lock goth/gothic and Re-attempt OAuth2 registration on login if registration failed at startup (#16564) 3 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago