%::myconfig mit sinnvollen Standardwerten vorbelegen
[kivitendo-erp.git] / SL / Dispatcher / AuthHandler / Admin.pm
index ebb4a4d..9ef6ef3 100644 (file)
@@ -8,7 +8,7 @@ use SL::Layout::Dispatcher;
 sub handle {
   my ($self, %params) = @_;
 
-  %::myconfig = ();
+  %::myconfig = User->get_default_myconfig;
 
   my $ok =  $::auth->is_api_token_cookie_valid;
   $ok  ||=  $::form->{'{AUTH}admin_password'} && ($::auth->authenticate_root($::form->{'{AUTH}admin_password'})            == $::auth->OK());