Falscher Link bei Umstellung auf HTML-Vorlagen.
[kivitendo-erp.git] / login.pl
index 7753cc5..7cca68a 100755 (executable)
--- a/login.pl
+++ b/login.pl
@@ -71,6 +71,8 @@ $0 =~ tr/\\/\//;
 $pos = rindex $0, '/';
 $script = substr($0, $pos + 1);
 
+$form->{login} =~ s|.*/||;
+
 if (-e "$userspath/nologin" && $script ne 'admin.pl') {
   print "content-type: text/plain