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 3e4432d commit cbf3ad0Copy full SHA for cbf3ad0
login.php
@@ -60,7 +60,7 @@ function auth(
60
}
61
62
/* Authentifizierung des User */
63
- if (($link_id = ldap_bind($connection, $user_dn, $password)) == false) {
+ if ((ldap_bind($connection, $user_dn, $password)) == false) {
64
print "Fehler: Authentifizierung fehlgeschlagen: $user_dn<br>";
65
return false;
66
@@ -72,7 +72,7 @@ function auth(
72
echo $initials; // Output: "JT"
73
$_SESSION['username'] = $initials;
74
75
- ldap_unbind($link_id);
+ ldap_unbind($connection);
76
return true;
77
78
0 commit comments