projects
/
Pman.Admin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better error reporting
[Pman.Admin]
/
Signup.php
diff --git
a/Signup.php
b/Signup.php
index
4edf7ac
..
d06a711
100644
(file)
--- a/
Signup.php
+++ b/
Signup.php
@@
-8,7
+8,7
@@
class Pman_Admin_Signup extends Pman
parent::getAuth(); // load company!
$au = $this->getAuthUser();
if (!$au) {
parent::getAuth(); // load company!
$au = $this->getAuthUser();
if (!$au) {
- $this->jerr
(
"Not authenticated", array('authFailure' => true));
+ $this->jerr
or("LOGIN-NOAUTH",
"Not authenticated", array('authFailure' => true));
}
$this->authUser = $au;
if ($au->company()->comptype != 'OWNER') {
}
$this->authUser = $au;
if ($au->company()->comptype != 'OWNER') {