Commit Graph

19 Commits (fe274c148bc516b63aa89ab1904d124e60903421)

Author SHA1 Message Date
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
wxiaoguang 84ceaa98bd
Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
zeripath 7fc5fd6415
Do not send activation email if manual confirm is set (#19119) 3 years ago
KN4CK3R c88f2e2acc
Handle email address not exist. (#19089) 3 years ago
Lunny Xiao 18033f49ba
Restrict email address validation (#17688) 3 years ago
zeripath 1c5afd17ee
Prevent panic on prohibited user login with oauth2 (#18562) 3 years ago
zeripath 7d452558f0
Fix OAuth Source Edit Page (#18495) 3 years ago
wxiaoguang 49dd906753
Use base32 for 2FA scratch token (#18384) 3 years ago
zeripath 44deae8f3d
Refactor jwt.StandardClaims to RegisteredClaims (#18344) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Gusted 1d98d205f5
Enable deprecation error for v1.17.0 (#18341) 3 years ago
wxiaoguang 6fba174606
Fix incorrect OAuth message (#18332) 3 years ago
zeripath d7c2a2951c
Webauthn nits (#18284) 3 years ago
Lunny Xiao 35c3553870
Support webauthn (#17957) 3 years ago
KN4CK3R e30b20dc68
Show OAuth callback error message (#18185) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago