X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fadmin.pl;h=eac4d083ec61b4672091eca7254e2d3edfe6210d;hb=463ea8525a073beedbd4a25712b2cb4654734054;hp=7bb498c6ea7a302e85dc65d61dda391ebdf314bd;hpb=8a86b3b7673fdeca40cbeab8be4456887e83a177;p=kivitendo-erp.git diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl index 7bb498c6e..eac4d083e 100755 --- a/bin/mozilla/admin.pl +++ b/bin/mozilla/admin.pl @@ -84,10 +84,9 @@ sub run { if ($auth->session_tables_present()) { $::auth->set_session_value('rpw', $::form->{rpw}); $::auth->create_or_refresh_session(); + _apply_dbupgrade_scripts(); } - _apply_dbupgrade_scripts(); - call_sub($locale->findsub($form->{action})); } } else { @@ -363,8 +362,12 @@ sub add_user { "dateformat" => "dd.mm.yy", "stylesheet" => "lx-office-erp.css", "menustyle" => "old", + dbport => $::auth->{DB_config}->{port} || 5432, + dbuser => $::auth->{DB_config}->{user} || 'lxoffice', + dbhost => $::auth->{DB_config}->{host} || 'localhost', }; + edit_user_form($myconfig); }