0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-19 00:00:34 +01:00
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
2024-12-02 02:03:15 +08:00
..
2fa.go
auth_test.go
auth.go Allow to disable the password-based login (sign-in) form (#32687) 2024-12-02 02:03:15 +08:00
linkaccount.go
main_test.go
oauth2_provider.go
oauth_test.go
oauth.go
openid.go
password.go
webauthn.go