diff options
author | zeripath <art27@cantab.net> | 2020-12-18 17:44:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-18 17:44:18 +0000 |
commit | e2b069e57784075124863a3926c7f1d89fa760a9 (patch) | |
tree | 6ac8d23c1e0180ad5ce17830f50123c382ee9db7 /integrations | |
parent | efa9a8a6e308489cf5b5e0174007d78390c5f0e6 (diff) | |
download | gitea-e2b069e57784075124863a3926c7f1d89fa760a9.tar.gz gitea-e2b069e57784075124863a3926c7f1d89fa760a9.zip |
Accept multiple SSH keys in single LDAP SSHPublicKey attribute (#13989)
* Accept multiple SSH keys in single LDAP SSHPublicKey attribute
Fix #13984
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'integrations')
-rw-r--r-- | integrations/auth_ldap_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/auth_ldap_test.go b/integrations/auth_ldap_test.go index a3ed172ba9..4d82c092e7 100644 --- a/integrations/auth_ldap_test.go +++ b/integrations/auth_ldap_test.go @@ -237,6 +237,6 @@ func TestLDAPUserSSHKeySync(t *testing.T) { syncedKeys[i] = strings.TrimSpace(divs.Eq(i).Text()) } - assert.ElementsMatch(t, u.SSHKeys, syncedKeys) + assert.ElementsMatch(t, u.SSHKeys, syncedKeys, "Unequal number of keys synchronized for user: %s", u.UserName) } } |