0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-21 10:15:09 +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 Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
auth_test.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
auth.go Allow to disable the password-based login (sign-in) form (#32687) 2024-12-02 02:03:15 +08:00
linkaccount.go add CfTurnstileSitekey context data to all captcha templates (#31874) 2024-08-19 17:58:53 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
oauth2_provider.go Enhancing Gitea OAuth2 Provider with Granular Scopes for Resource Access (#32573) 2024-11-22 12:06:41 +08:00
oauth_test.go Use user.FullName in Oauth2 id_token response (#32542) 2024-11-18 19:24:17 +08:00
oauth.go Fix oauth2 error handle not return immediately (#32514) 2024-11-15 02:13:01 +00:00
openid.go add CfTurnstileSitekey context data to all captcha templates (#31874) 2024-08-19 17:58:53 +00:00
password.go Remove urls from translations (#31950) 2024-09-02 18:36:24 +00:00
webauthn.go Fix: passkey login not working anymore (#32623) 2024-11-26 16:04:17 +00:00