X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/77fda87530f85a6fd83061808c4ef3c983750a51..d32410ac096b:/SL/Dispatcher/AuthHandler/Admin.pm diff --git a/SL/Dispatcher/AuthHandler/Admin.pm b/SL/Dispatcher/AuthHandler/Admin.pm index ebb4a4d3f..06fd3cfe3 100644 --- a/SL/Dispatcher/AuthHandler/Admin.pm +++ b/SL/Dispatcher/AuthHandler/Admin.pm @@ -8,7 +8,7 @@ use SL::Layout::Dispatcher; sub handle { my ($self, %params) = @_; - %::myconfig = (); + %::myconfig = User->get_default_myconfig; my $ok = $::auth->is_api_token_cookie_valid; $ok ||= $::form->{'{AUTH}admin_password'} && ($::auth->authenticate_root($::form->{'{AUTH}admin_password'}) == $::auth->OK()); @@ -23,7 +23,6 @@ sub handle { } $::request->{layout} = SL::Layout::Dispatcher->new(style => 'admin'); - $::request->layout->no_menu(1); $::auth->delete_session_value('admin_password'); $::auth->punish_wrong_login; SL::Dispatcher::show_error('admin/adminlogin', 'password');