]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/Object.pm
Laden von ge-YAML-dumpten Session-Inhalten gefixt
[kivitendo-erp.git] / SL / DB / Object.pm
index f138518007537b98aebb07d5c69c1e0754a1c08f..52b9300a94d8866eb2382537129171f00435d74f 100644 (file)
@@ -25,7 +25,7 @@ sub new {
 sub init_db {
   my $class_or_self = shift;
   my $class         = ref($class_or_self) || $class_or_self;
 sub init_db {
   my $class_or_self = shift;
   my $class         = ref($class_or_self) || $class_or_self;
-  my $type          = 'LXOFFICE';
+  my $type          = $class =~ m/::Auth/ ? 'LXOFFICE_AUTH' : 'LXOFFICE';
 
   return SL::DB::create(undef, $type);
 }
 
   return SL::DB::create(undef, $type);
 }