Authenthifizierung ohne Passwort generell abbrechen

This commit is contained in:
oesi
2015-04-20 16:11:09 +02:00
parent 48813b4e41
commit a2cc845a77
+3
View File
@@ -48,6 +48,9 @@ class authentication extends auth
public function checkpassword($username, $passwort)
{
if($passwort=='')
return false;
if($connect=ldap_connect(LDAP_SERVER))
{
// bind to ldap connection