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:
a9f30fb
)
Admin: Standardgruppe erst anlegen, wenn keine dbupgrade mehr
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 20 Jul 2015 14:18:42 +0000
(16:18 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 20 Jul 2015 14:37:27 +0000
(16:37 +0200)
SL/Controller/Admin.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/Admin.pm
b/SL/Controller/Admin.pm
index
2fb7de6
..
ebbcb77
100644
(file)
--- a/
SL/Controller/Admin.pm
+++ b/
SL/Controller/Admin.pm
@@
-81,6
+81,8
@@
sub action_create_auth_tables {
$::auth->set_session_value('admin_password', $::lx_office_conf{authentication}->{admin_password});
$::auth->create_or_refresh_session;
+ return if $self->apply_dbupgrade_scripts;
+
my $group = (SL::DB::Manager::AuthGroup->get_all(limit => 1))[0];
if (!$group) {
SL::DB::AuthGroup->new(
@@
-90,9
+92,7
@@
sub action_create_auth_tables {
)->save;
}
- if (!$self->apply_dbupgrade_scripts) {
- $self->action_login;
- }
+ $self->action_login;
}
#