You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services
zeripath 72738f0cb5
Lock goth/gothic and Re-attempt OAuth2 registration on login if registration failed at startup (#16564)
This PR has two parts:

* Add locking to goth and gothic calls with a RWMutex

The goth and gothic calls are currently unlocked and thus are a cause of multiple potential races

* Reattempt OAuth2 registration on login if registration failed

If OAuth2 registration fails at startup we currently disable the login_source however an alternative approach could be to reattempt registration on login attempt.
    
Fix #16096

Signed-off-by: Andrew Thornton <art27@cantab.net>
3 years ago
..
agit Add agit flow support in gitea (#14295) 3 years ago
archiver Rework repository archive (#14723) 3 years ago
auth Lock goth/gothic and Re-attempt OAuth2 registration on login if registration failed at startup (#16564) 3 years ago
comments Enhance Ghost comment mitigation Settings (#14392) 3 years ago
externalaccount Allow externalID to be UUID (#8551) 5 years ago
forms Add support for corporate WeChat webhooks (#15910) 3 years ago
gitdiff Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
issue Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
lfs Rename context.Query to context.Form (#16562) 3 years ago
mailer Use TrN helper for email templates (#16425) 3 years ago
mirror Add push to remote mirror repository (#15157) 3 years ago
pull Add agit flow support in gitea (#14295) 3 years ago
release Add tag protection (#15629) 3 years ago
repository Implemented head_commit for webhooks (#16282) 3 years ago
webhook Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
wiki Add TestPrepareWikiFileName (#16487) 3 years ago