Password authentication enabled for Git over HTTP(S) can not be disabled via UI
Summary
Changing the Setting "Password authentication enabled for Git over HTTP(S)" is not possible via the UI. When checking the corresponding box and clicking the save button the state is not saved.
Steps to reproduce
- Go to Application Settings
- Check the box for "Password authentication enabled for Git over HTTP(S)"
- Click save
Example Project
Not project specific
What is the current bug behavior?
State is not saved.
What is the expected correct behavior?
State is saved
Relevant logs and/or screenshots
Output of checks
I can't verify as I don't have access to the admin interface of gitlab.com
Results of GitLab environment info
Expand for output related to GitLab environment info
GitLab information Version: 10.3.4 Revision: 56dc722
Results of GitLab application Check
Expand for output related to the GitLab application check
Possible fixes
The feature was introduced in https://gitlab.com/gitlab-org/gitlab-ce/issues/37320
Also setting the Setting via rails console works:
a=ApplicationSetting.first
a.password_authentication_enabled_for_git = false
a.save