0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-21 10:15:09 +01:00
gitea/routers/web
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
..
admin Refactor some frontend problems (#32646) 2024-11-26 15:36:55 +00:00
auth Allow to disable the password-based login (sign-in) form (#32687) 2024-12-02 02:03:15 +08:00
devtest Refactor some frontend problems (#32646) 2024-11-26 15:36:55 +00:00
events Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
explore Respect UI.ExploreDefaultSort setting again (#32357) 2024-10-30 12:33:25 +00:00
feed Move GetFeeds to service layer (#32526) 2024-11-29 17:53:49 +00:00
healthcheck Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
misc Refactor render system (#32492) 2024-11-14 05:02:11 +00:00
org Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00
repo Allow users with write permission to run actions (#32644) 2024-11-28 07:18:23 +00:00
shared Refactor markup render system (#32589) 2024-11-22 05:48:09 +00:00
user Move GetFeeds to service layer (#32526) 2024-11-29 17:53:49 +00:00
base.go Fix missing signature key error when pulling Docker images with SERVE_DIRECT enabled (#32365) 2024-10-31 15:28:25 +00:00
githttp.go Fix LFS route mock, realm, middleware names (#32488) 2024-11-13 16:58:09 +08:00
goget.go Refactor RepoRefByType (#32413) 2024-11-05 06:35:54 +00:00
home.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-02-29 18:52:49 +00:00
metrics.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
nodeinfo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
passkey.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
swagger_json.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
web.go Allow users with write permission to run actions (#32644) 2024-11-28 07:18:23 +00:00
webfinger.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00