mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-21 15:15:56 +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