From bb1e782a34ff1e3afb020a835fc084362fd61cad Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sat, 13 Jan 2018 09:04:13 +0000
Subject: [PATCH] Oops, two YAML args had the same name

---
 backend/ldap.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/backend/ldap.go b/backend/ldap.go
index d7035ac7..817cfdb8 100644
--- a/backend/ldap.go
+++ b/backend/ldap.go
@@ -23,8 +23,8 @@ type LDAPQueryConfig struct {
 	scope        int
 
 	// Attr is the LDAP attribute holding the encrypted user key.
-	PublicKeyAttr  string `yaml:"attr"`
-	PrivateKeyAttr string `yaml:"attr"`
+	PublicKeyAttr  string `yaml:"public_key_attr"`
+	PrivateKeyAttr string `yaml:"private_key_attr"`
 }
 
 // Valid returns an error if the configuration is invalid.
-- 
GitLab