projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ab88c4d
)
flag authentication failures
author
Alan
<alan@roojs.com>
Thu, 7 Sep 2023 02:49:22 +0000
(10:49 +0800)
committer
Alan
<alan@roojs.com>
Thu, 7 Sep 2023 02:49:22 +0000
(10:49 +0800)
Pman/Roo.php
patch
|
blob
|
history
diff --git
a/Pman/Roo.php
b/Pman/Roo.php
index
7de8612
..
cc11188
100644
(file)
--- a/
Pman/Roo.php
+++ b/
Pman/Roo.php
@@
-67,10
+67,10
@@
class Pman_Roo extends Pman
$au = $this->getAuthUser();
if (!$au) {
$au = $this->getAuthUser();
if (!$au) {
- $this->jerr
(
"Not authenticated", array('authFailure' => true));
+ $this->jerr
or("LOGIN-NOAUTH",
"Not authenticated", array('authFailure' => true));
}
if (!$au->pid() ) { // not set up yet..
}
if (!$au->pid() ) { // not set up yet..
- $this->jerr
(
"Not authenticated", array('authFailure' => true));
+ $this->jerr
or("LOGIN-NOAUTH",
"Not authenticated", array('authFailure' => true));
}
}