From: Moritz Bunkus Date: Fri, 19 Jul 2013 15:50:00 +0000 (+0200) Subject: Admin-Controller: bei Session-Fehler MenĂ¼ nicht anzeigen X-Git-Tag: release-3.1.0beta1~152 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a4c3e9de7b3169ac6a0ad270022da9aeed91f9ff;p=kivitendo-erp.git Admin-Controller: bei Session-Fehler MenĂ¼ nicht anzeigen --- diff --git a/SL/Dispatcher/AuthHandler/Admin.pm b/SL/Dispatcher/AuthHandler/Admin.pm index babdc223a..ad7c1f413 100644 --- a/SL/Dispatcher/AuthHandler/Admin.pm +++ b/SL/Dispatcher/AuthHandler/Admin.pm @@ -23,6 +23,7 @@ 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');