Merge "SecurityFix: enforce HTTP password checking on gitBasicAuth"

This commit is contained in:
Edwin Kempin
2014-03-25 19:33:57 +00:00
committed by Gerrit Code Review
7 changed files with 33 additions and 11 deletions

View File

@@ -29,7 +29,7 @@ public abstract class SettingsScreen extends MenuScreen {
if (Gerrit.getConfig().getSshdAddress() != null) {
link(Util.C.tabSshKeys(), PageLinks.SETTINGS_SSHKEYS);
}
if (!Gerrit.getConfig().isGitBasicAuth()) {
if (Gerrit.getConfig().isHttpPasswordSettingsEnabled()) {
link(Util.C.tabHttpAccess(), PageLinks.SETTINGS_HTTP_PASSWORD);
}
link(Util.C.tabWebIdentities(), PageLinks.SETTINGS_WEBIDENT);