Commit Graph

6 Commits (f40833d1f0a9e3269d31090eae8fcb101fa1318c)

Author SHA1 Message Date
Gusted 58de07e5fd
Add support mCaptcha as captcha provider (#20458) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Jimmy Praet 5aebc4f000
Respect DefaultUserIsRestricted system default when creating new user (#19310) 3 years ago
wxiaoguang 49dd906753
Use base32 for 2FA scratch token (#18384) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
zeripath bcc13f3889
Reset Session ID on login (#18018) 3 years ago
zeripath 0981ec30c3
Add Option to synchronize Admin & Restricted states from OIDC/OAuth2 along with Setting Scopes (#16766) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao 95d3266bee
Move user follow and openid into models/user/ (#17613) 3 years ago
zeripath 27b351aba5
Make LDAP be able to skip local 2FA (#16954) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 4 years ago
zeripath 3183a465d7
Make modules/context.Context a context.Context (#16031) 4 years ago
silverwind 1e6fa57acb
Use single shared random string generation function (#15741) 4 years ago
6543 a229e34387
Allow only internal registration (#15795) 4 years ago
Martin Michaelis 55eb1745bd
OAuth2 auto-register (#5123) 4 years ago
zeripath fa3895ce81
Move modules/forms to services/forms (#15305) 4 years ago
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282) 4 years ago
zeripath 9b261f52f0
Add SameSite setting for cookies (#14900) 4 years ago
Michel Ganguin 4457d0e8d9
Honor REGISTER_MANUAL_CONFIRM when doing openid registration (#14548) 4 years ago
Lunny Xiao 41c0776568
Fix captcha (#14488) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
John Olheiser 72636fd664
hCaptcha Support (#12594) 4 years ago
zeripath 76053ac31a
Whenever the ctx.Session is updated, release it to save it before sending the redirect (#11456) 5 years ago
guillep2k 09dbd85a3a
Various fixes in login sources (#10428) 5 years ago
Lunny Xiao 5a438ee3c0
Move all mail related codes from models to services/mailer (#7200) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
Lunny Xiao 85202d4784
Display ui time with customize time location (#7792) 5 years ago
AJ ONeal 62d6127f1b Make captcha and password optional for external accounts (#6606) 6 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
Bo-Yi Wu 743697a549
refactor: append, build variable and type switch (#4940) 6 years ago
zeripath ade88a877d Allow Recaptcha service url to be configured (#6820) 6 years ago
zeripath 704da08fdc
Better logging (#6038) (#6095) 6 years ago
mrsdizzie 6f2e1bd23a Don't Unescape redirect_to cookie value (#6399) 6 years ago
zeripath 2b36bdd490 Do not display the raw OpenID error in the UI (#5705) 6 years ago
SagePtr 0449330dbc Make cookies HttpOnly and obey COOKIE_SECURE flag (#4706) 6 years ago
Fluf f035dcd4f2 Add Recaptcha functionality to Gitea (#4044) 7 years ago
Lauris BH 7b2b900e13 Refactor and simplify redirect to url (#3674) 7 years ago
Codruț Constantin Gușoi 96c268c0fc Implements generator cli for secrets (#3531) 7 years ago
Morgan Bazalgette 65861900cd Handle refactor (#3339) 7 years ago
Sandro Santilli 2c3a229a3c Add OpenID configuration in install page (#2276) 7 years ago
Lunny Xiao f960e19c59 Only update needed columns when update user (#2296) 7 years ago
Lauris BH 32fc44aa83 Make time diff translatable (#2057) 8 years ago
Jonas Östanbäck b93568cce4 xxx_active_code_live setting in printed in hours and minutes instead … (#1814) 8 years ago
Sandro Santilli 129b0d6a4b Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION (#1369) 8 years ago
Sandro Santilli f73e734411 Run "make fmt" with go-1.6 (#1333) 8 years ago
Sandro Santilli 97ee88975a Add captcha support to OpenID based signup 8 years ago