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.
gitea/routers/web/auth
wxiaoguang def13ece7c
Allow to disable the password-based login (sign-in) form (#32687)
Usually enterprise/organization users would like to only allow OAuth2
login.

This PR adds a new config option to disable the password-based login
form. It is a simple and clear approach and won't block the future
login-system refactoring works.

Fix a TODO in #24821

Replace  #21851

Close #7633 , close #13606
2 months ago
..
2fa.go Move context from modules to services (#29440) 12 months ago
auth.go Allow to disable the password-based login (sign-in) form (#32687) 2 months ago
auth_test.go Refactor names (#31405) 8 months ago
linkaccount.go add CfTurnstileSitekey context data to all captcha templates (#31874) 6 months ago
main_test.go make writing main test easier (#27270) 1 year ago
oauth.go Fix oauth2 error handle not return immediately (#32514) 3 months ago
oauth2_provider.go Enhancing Gitea OAuth2 Provider with Granular Scopes for Resource Access (#32573) 3 months ago
oauth_test.go Use user.FullName in Oauth2 id_token response (#32542) 3 months ago
openid.go add CfTurnstileSitekey context data to all captcha templates (#31874) 6 months ago
password.go Remove urls from translations (#31950) 5 months ago
webauthn.go Fix: passkey login not working anymore (#32623) 2 months ago