1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-07 16:34:27 +00:00
gitea/routers/web/auth
wxiaoguang def13ece7c
Allow to disable the password-based login (sign-in) form ()
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 

Replace  

Close  , close 
2024-12-02 02:03:15 +08:00
..
2fa.go Move context from modules to services () 2024-02-27 08:12:22 +01:00
auth_test.go Refactor names () 2024-06-19 06:32:45 +08:00
auth.go Allow to disable the password-based login (sign-in) form () 2024-12-02 02:03:15 +08:00
linkaccount.go add CfTurnstileSitekey context data to all captcha templates () 2024-08-19 17:58:53 +00:00
main_test.go make writing main test easier () 2023-09-28 01:38:53 +00:00
oauth2_provider.go Enhancing Gitea OAuth2 Provider with Granular Scopes for Resource Access () 2024-11-22 12:06:41 +08:00
oauth_test.go Use user.FullName in Oauth2 id_token response () 2024-11-18 19:24:17 +08:00
oauth.go Fix oauth2 error handle not return immediately () 2024-11-15 02:13:01 +00:00
openid.go add CfTurnstileSitekey context data to all captcha templates () 2024-08-19 17:58:53 +00:00
password.go Remove urls from translations () 2024-09-02 18:36:24 +00:00
webauthn.go Fix: passkey login not working anymore () 2024-11-26 16:04:17 +00:00