X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FUser.pm;h=368a0a278ef869b75fc6f999c5bb1db64ab48742;hb=b8f9149b04ff28fb4747cfdf702aaed8f07a853e;hp=37a61c51f416d4f58c8a853ea45d1f84dce76612;hpb=1b2a67905e7864f2b4f0eaf98a1d19c03a29e49c;p=kivitendo-erp.git diff --git a/SL/User.pm b/SL/User.pm index 37a61c51f..368a0a278 100644 --- a/SL/User.pm +++ b/SL/User.pm @@ -149,7 +149,7 @@ sub login { } # update the tables - if (!open(FH, ">", $::lx_office_conf{paths}->{userspath} . "/nologin")) { + if (!$::lx_office_conf{debug}->{keep_installation_unlocked} && !open(FH, ">", $::lx_office_conf{paths}->{userspath} . "/nologin")) { $form->show_generic_error($main::locale->text('A temporary file could not be created. ' . 'Please verify that the directory "#1" is writeable by the webserver.', $::lx_office_conf{paths}->{userspath}), @@ -783,4 +783,3 @@ sub data { } 1; -