1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers
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
..
api Move GetFeeds to service layer (#32526) 2024-11-29 17:53:49 +00:00
common Fix markup render regression and fix some tests (#32640) 2024-11-26 03:04:55 +08:00
install Save initial signup information for users to aid in spam prevention (#31852) 2024-09-09 17:05:16 -04:00
private Split mail sender sub package from mailer service package (#32618) 2024-11-30 01:15:41 +00:00
utils Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
web Allow to disable the password-based login (sign-in) form (#32687) 2024-12-02 02:03:15 +08:00
init.go Make oauth2 code clear. Move oauth2 provider code to their own packages/files (#32148) 2024-10-02 08:03:19 +08:00