Usermaske im Adminbereich vor logins aus sessions geschützt.
[kivitendo-erp.git] / scripts / task_server.pl
index 9bf2cb3..5854a51 100755 (executable)
@@ -50,7 +50,7 @@ sub lxinit {
 
   require "bin/mozilla/common.pl";
 
-  die "cannot find user $login"            unless %::myconfig = $::auth->read_user($login);
+  die "cannot find user $login"            unless %::myconfig = $::auth->read_user(login => $login);
   die "cannot find locale for user $login" unless $::locale   = Locale->new('de');
 }