projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8614a5c
)
move to jerror
author
Alan
<alan@roojs.com>
Mon, 11 Sep 2023 06:30:48 +0000
(14:30 +0800)
committer
Alan
<alan@roojs.com>
Mon, 11 Sep 2023 06:30:48 +0000
(14:30 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
c1a3824
..
2ac52cf
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-464,9
+464,9
@@
class Pman extends HTML_FlexyFramework_Page
$au = $this->authUser;
if ($au) {
// is it an authfailure?
$au = $this->authUser;
if ($au) {
// is it an authfailure?
- $this->jerr
(
"Permission denied to view this resource", array('authFailure' => true));
+ $this->jerr
or("LOGIN-NOPERM",
"Permission denied to view this resource", array('authFailure' => true));
}
}
- $this->jerr
(
"Not authenticated", array('authFailure' => true));
+ $this->jerr
or("LOGIN-NOAUTH",
"Not authenticated", array('authFailure' => true));
}
}