if (!empty($_SESSION[get_class($this)][$sesPrefix .'-auth'])) {
$a = unserialize($_SESSION[get_class($this)][$sesPrefix .'-auth']);
- $u = DB_DataObject::factory('Person');
+ $u = DB_DataObject::factory($a->__table); // allow extending this ...
if ($u->get($a->id)) { /// && strlen($u->passwd)) {
return clone($u);
}