Remove auth section duplicate
Duplication was causing authentication problem since some of
the parameters weren't considered.
Change-Id: Iabd9a6fc11c0027ff7a46e9b8f8ab61ca1262f1a
diff --git a/gerrit/etc/gerrit.config.template b/gerrit/etc/gerrit.config.template
index 5cdbd19..dc11036 100644
--- a/gerrit/etc/gerrit.config.template
+++ b/gerrit/etc/gerrit.config.template
@@ -10,6 +10,7 @@
[auth]
type = ldap
gitBasicAuth = true
+ cookiedomain = .{{ COOKIE_DOMAIN }}
[ldap]
server = {{ LDAP_SERVER }}
username = {{ LDAP_USERNAME }}
@@ -59,6 +60,3 @@
excludeMetrics = caches/.*
{% endif %}
-
-[auth]
- cookiedomain = .{{ COOKIE_DOMAIN }}