We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac26b8b commit f1c311cCopy full SHA for f1c311c
apps/user_ldap/ajax/testConfiguration.php
@@ -38,6 +38,13 @@
38
39
try {
40
if ($connection->setConfiguration($_POST)) {
41
+ /*
42
+ * Clossing the session since it won't be used from this point on. There might be a potential
43
+ * race condition if a second request is made: either this request or the other might not
44
+ * contact the LDAP backup server the first time when it should, but there shouldn't be any
45
+ * problem with that other than the extra connection.
46
+ */
47
+ \OC::$server->getSession()->close();
48
//Configuration is okay
49
if ($connection->bind()) {
50
/*
0 commit comments