Commit Graph

30 Commits (ba16df8da3905e92639dce3cd0132ac08cee8b61)

Author SHA1 Message Date
Jason Song 43bddc1405
Set last login when activating account (#21731) (#21754) 2 years ago
KN4CK3R 2ccf940464
Suppress `ExternalLoginUserNotExist` error (#21504) (#21572) 2 years ago
M Hickford 14bc4d79c1
Parse OAuth Authorization header when request omits client secret (#21351) (#21374) 2 years ago
6543 09f2e1e1a2
WebAuthn CredentialID field needs to be increased in size (#20530) (#20555) 2 years ago
SteveTheEngineer 764e75d9b9
Catch the error before the response is processed by goth. (#20000) (#20102) 3 years ago
oGi4i 9068c784c8
Use DisplayName() instead of FullName in Oauth provider (#19991) 3 years ago
Mai-Lapyst 4698a1ec47
Adding button to link accounts from user settings (#19792) 3 years ago
zeripath 468387e9ce
Prevent NPE when cache service is disabled (#19703) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
6543 e2a3f3d259
Federation: return useful statistic information for nodeinfo (#19561) 3 years ago
Jimmy Praet 5aebc4f000
Respect DefaultUserIsRestricted system default when creating new user (#19310) 3 years ago
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