projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
073d84a
)
Pman/Login.php
author
Alan Knowles
<alan@akbkhome.com>
Wed, 23 Jun 2010 08:39:20 +0000
(16:39 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 23 Jun 2010 08:39:20 +0000
(16:39 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
ac4a132
..
7a33364
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-114,8
+114,11
@@
class Pman_Login extends Pman
return $this->changePassword($_REQUEST);
}
+ $ff = HTML_FlexyFramework::get();
+ $tbl = empty($ff->Pman['authTable']) ? 'Person' : $ff->Pman['authTable'];
- $u = DB_DataObject::factory('Person');
+
+ $u = DB_DataObject::factory($tbl);
//$u->active = 1;
$u->whereAdd('LENGTH(passwd) > 1');
//$u->company_id = $this->company->id;