From a2cc845a77bfbbcc77fb4fdfc1c6d1e9fc72816f Mon Sep 17 00:00:00 2001 From: oesi Date: Mon, 20 Apr 2015 16:11:09 +0200 Subject: [PATCH] Authenthifizierung ohne Passwort generell abbrechen --- include/auth_session.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/auth_session.class.php b/include/auth_session.class.php index c18708372..af0d79c13 100644 --- a/include/auth_session.class.php +++ b/include/auth_session.class.php @@ -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