mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-15 21:45:35 +08:00
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 |
||
|---|---|---|
| .. | ||
| 2fa.go | ||
| auth_test.go | ||
| auth.go | ||
| linkaccount.go | ||
| main_test.go | ||
| oauth2_provider.go | ||
| oauth_test.go | ||
| oauth.go | ||
| openid.go | ||
| password.go | ||
| webauthn.go | ||