init: Fix a minor source code formatting error
Change-Id: I5cc7f2a25d199b310db11f362ca4a6c81324feed Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -511,7 +511,8 @@ public class Init extends SiteProgram {
|
|||||||
switch (auth_type) {
|
switch (auth_type) {
|
||||||
case LDAP:
|
case LDAP:
|
||||||
case HTTP_LDAP: {
|
case HTTP_LDAP: {
|
||||||
String server = ldap.string("LDAP server", "server", "ldap://localhost");
|
String server =
|
||||||
|
ldap.string("LDAP server", "server", "ldap://localhost");
|
||||||
if (server != null //
|
if (server != null //
|
||||||
&& !server.startsWith("ldap://") //
|
&& !server.startsWith("ldap://") //
|
||||||
&& !server.startsWith("ldaps://")) {
|
&& !server.startsWith("ldaps://")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user