projects
/
Pman.Base
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pman/Login.php
[Pman.Base]
/
Pman
/
Login.php
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
f287ac5
..
7fc99ef
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-130,6
+130,15
@@
class Pman_Login extends Pman
$this->jerr("User switching not permitted");
}
$this->jerr("User switching not permitted");
}
+ $tbl = empty($ff->Pman['authTable']) ? 'Person' : $ff->Pman['authTable'];
+ $u = DB_DataObject::factory($tbl);
+ $u->get($id);
+ if (!$u->active()) {
+ $this->jerr('Account disabled');
+ }
+
+
+
}
}