projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8fa93b
)
LoginScreen: Request beenden, wenn Benutzer nicht authentifiziert wird
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Mon, 7 Oct 2019 13:25:55 +0000
(15:25 +0200)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Fri, 6 Dec 2019 15:02:00 +0000
(16:02 +0100)
SL/Controller/LoginScreen.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/LoginScreen.pm
b/SL/Controller/LoginScreen.pm
index
673c6b4
..
6d59a99
100644
(file)
--- a/
SL/Controller/LoginScreen.pm
+++ b/
SL/Controller/LoginScreen.pm
@@
-58,7
+58,9
@@
sub action_login {
%::myconfig = $login ? $::auth->read_user(login => $login) : ();
$::locale = Locale->new($::myconfig{countrycode}) if $::myconfig{countrycode};
- SL::Dispatcher::AuthHandler::User->new->handle;
+ my $auth_result = SL::Dispatcher::AuthHandler::User->new->handle;
+
+ $::dispatcher->end_request unless $auth_result;
$::request->layout(SL::Layout::Dispatcher->new(style => $::myconfig{menustyle}));