Commit Graph

26 Commits (f30cc9faa93935f5afb7a38354e5381d5e8825bf)

Author SHA1 Message Date
wxiaoguang 5b9557aef5
Refactor cookie (#24107) 2 years ago
zeripath 61b89747ed
Provide the ability to set password hash algorithm parameters (#22942) 2 years ago
Otto Richter (fnetX) 95d9fbdcf3
Fix error on account activation with wrong passwd (#22609) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Xinyu Zhou 68e934ab5d
Add option to enable CAPTCHA validation for login (#21638) 2 years ago
Jason Song 1d22911cfe
Extract updateSession function to reduce repetition (#21735) 2 years ago
Jason Song 5a6cba4cf4
Set last login when activating account (#21731) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
KN4CK3R 1713beb73b
Suppress `ExternalLoginUserNotExist` error (#21504) 2 years ago
Gusted 58de07e5fd
Add support mCaptcha as captcha provider (#20458) 2 years ago
Gusted 0048595811
Remove U2F support (#20141) 2 years ago
Gusted 5d3f99c7c6
Make better use of i18n (#20096) 2 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
wxiaoguang 84ceaa98bd
Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 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
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao 35c3553870
Support webauthn (#17957) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago