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:
87f4348
)
Admin: bei Admin/login direkt Redirect zu show, falls bereits eingeloggt
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 17 Jun 2013 09:03:23 +0000
(11:03 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 17 Jun 2013 09:03:23 +0000
(11:03 +0200)
SL/Controller/Admin.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/Admin.pm
b/SL/Controller/Admin.pm
index
5555baa
..
e1d26fd
100644
(file)
--- a/
SL/Controller/Admin.pm
+++ b/
SL/Controller/Admin.pm
@@
-37,6
+37,7
@@
sub keep_auth_vars {
sub action_login {
my ($self) = @_;
+ return $self->redirect_to(action => 'show') if $::auth->authenticate_root == SL::Auth::OK();
return $self->login_form if !$::form->{do_login};
return if !$self->authenticate_root;
return if !$self->check_auth_db_and_tables;