projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07d4f11
)
Pman/Login.php
author
Alan Knowles
<alan@akbkhome.com>
Wed, 9 Mar 2011 03:38:52 +0000
(11:38 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 9 Mar 2011 03:38:52 +0000
(11:38 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
d4e2b5c
..
8ee9e0b
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-94,6
+94,7
@@
class Pman_Login extends Pman
$au = $u->getAuthUser();
// might occur on shared systems.
$ff= HTML_FlexyFramework::get();
+
if (!empty($ff->Pman['auth_comptype']) && $ff->Pman['auth_comptype'] != $au->company()->comptype) {
$au->logout();
$this->jerr("Login not permited to outside companies - please reload");