Enable HTTP password setting based upon gitBasicAuthPolicy
Change-Id: I7a03cad1f0ebc6c69eca717b0606325df0c946a2
This commit is contained in:
parent
b67f80fb18
commit
fe81d03010
@ -84,7 +84,8 @@ public class AuthInfo extends JavaScriptObject {
|
||||
}
|
||||
|
||||
public final boolean isHttpPasswordSettingsEnabled() {
|
||||
return gitBasicAuthPolicy() != GitBasicAuthPolicy.LDAP;
|
||||
return gitBasicAuthPolicy() == GitBasicAuthPolicy.HTTP
|
||||
|| gitBasicAuthPolicy() == GitBasicAuthPolicy.HTTP_LDAP;
|
||||
}
|
||||
|
||||
public final GitBasicAuthPolicy gitBasicAuthPolicy() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user