projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90ee86a
)
Pman/Login.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 21 Dec 2010 02:53:24 +0000
(10:53 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 21 Dec 2010 02:53:24 +0000
(10:53 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
ae86ec4
..
086a218
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-91,6
+91,13
@@
class Pman_Login extends Pman
$this->jok(array('id' => 0)); // not logged in..
exit;
}
+
+ $ff= HTML_FlexyFramework::get();
+ if (!empty($ff->Pman['auth_comptype']) && $ff->Pman['auth_comptype'] != $u->company()->comptype) {
+ $this->jerr("Login not permited to outside companies");
+ }
+
+
$au = $u->getAuthUser();
$aur = $au->authUserArray();