diff options
| author | Tarik Gasmi | 2007-09-27 16:40:23 +0200 |
|---|---|---|
| committer | Tarik Gasmi | 2007-09-27 16:40:23 +0200 |
| commit | ecc473303fbee5f5466d2477157b5fd682357003 (patch) | |
| tree | 2776e2d1d44543e60e15fba30d98d630a551c59c /ldap-site-mngmt/webinterface/login_sicher.php | |
| parent | Added text to PXE image "please select" and "use arrow keys". Dirks idea. (diff) | |
| download | core-ecc473303fbee5f5466d2477157b5fd682357003.tar.gz core-ecc473303fbee5f5466d2477157b5fd682357003.tar.xz core-ecc473303fbee5f5466d2477157b5fd682357003.zip | |
Reorganized LSM Webinterface
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1353 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'ldap-site-mngmt/webinterface/login_sicher.php')
| -rw-r--r-- | ldap-site-mngmt/webinterface/login_sicher.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ldap-site-mngmt/webinterface/login_sicher.php b/ldap-site-mngmt/webinterface/login_sicher.php index 3dd2af46..93676837 100644 --- a/ldap-site-mngmt/webinterface/login_sicher.php +++ b/ldap-site-mngmt/webinterface/login_sicher.php @@ -314,14 +314,14 @@ function userLogin($uid, $userPassword) { global $userDN, $suffix, $ldapError; # Verbindung mit der Datenbank herstellen if(($uid == "") || ($userPassword == "") || !($ds = uniLdapConnect($uid,$userPassword))) { - redirect(5, "index.php", "Falscher Login<br>".$ldapError, FALSE); + redirect(3, "index.php", "Falscher Login<br>".$ldapError, FALSE); die; } # cn abfragen $cn = "Gast"; if(!($person_daten = uniLdapSearch($ds, "ou=people,".$suffix, "uid=$uid", array("cn"), "", "list", 0, 0))) { - redirect(5, "index.php", $ldapError, FALSE); + redirect(3, "index.php", $ldapError, FALSE); die; } else { $cn = str_replace('\"', '', $person_daten[0]['cn'][0]); @@ -351,8 +351,9 @@ function userLogin($uid, $userPassword) { </table> </body> </html>"; - # Aufruf der Startseite: - redirect(0, "start.php", $mesg, TRUE); + # Aufruf der Startseite: + + redirect(0, "start.php", $mesg, TRUE); # nichtmehr benötigte CSV-Dateien im tmp-Verzeichnis löschen # listen_sauber(); |
