projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
login Layout
[kivitendo-erp.git]
/
SL
/
Controller
/
LoginScreen.pm
diff --git
a/SL/Controller/LoginScreen.pm
b/SL/Controller/LoginScreen.pm
index
9d0e94b
..
e73224b
100644
(file)
--- a/
SL/Controller/LoginScreen.pm
+++ b/
SL/Controller/LoginScreen.pm
@@
-7,6
+7,7
@@
use parent qw(SL::Controller::Base);
use SL::Dispatcher::AuthHandler::User;
use SL::User;
+__PACKAGE__->run_before('set_layout');
#
# actions
#
@@
-116,4
+117,8
@@
sub error_state {
}->{$_[0]};
}
+sub set_layout {
+ $::request->{layout} = SL::Controller::Layout->new(style => 'login');
+}
+
1;