Commit Graph

16 Commits (8a66b01e55d1988a814fed9f839f5e34c2e69d60)

Author SHA1 Message Date
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Balki c138e76c1c
Fix panic when an invalid oauth2 name is passed (#20820) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
zeripath e819da0837
WebAuthn CredentialID field needs to be increased in size (#20530) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
6543 f41c2bec4c
Delete user related oauth stuff on user deletion too (#19677) 2 years ago
Lunny Xiao 772ad761eb
Fix some slice problems (incorrect slice length) (#19592) 2 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 2 years ago
zeripath 3a29a23cdc
Attempt to fix the webauthn migration again - part 3 (#18770) 3 years ago
Gusted aa23f477b7
Use `CryptoRandomBytes` instead of `CryptoRandomString` (#18439) 3 years ago
wxiaoguang 49dd906753
Use base32 for 2FA scratch token (#18384) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath d7c2a2951c
Webauthn nits (#18284) 3 years ago
Lunny Xiao 35c3553870
Support webauthn (#17957) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago