projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fe3a77
)
When force_login doesn't work, auth will fail
author
Pascal Corpet
<pascal.corpet@m4x.org>
Tue, 15 Jun 2010 22:32:08 +0000
(
00:32
+0200)
committer
Pascal Corpet
<pascal.corpet@m4x.org>
Tue, 15 Jun 2010 22:32:08 +0000
(
00:32
+0200)
classes/platal.php
patch
|
blob
|
blame
|
history
diff --git
a/classes/platal.php
b/classes/platal.php
index
154491a
..
6c01c1b
100644
(file)
--- a/
classes/platal.php
+++ b/
classes/platal.php
@@
-65,6
+65,7
@@
abstract class PlHook
if ($this->hasType(DO_AUTH)) {
if (!$session->start($this->auth)) {
$platal->force_login($page);
+ return PL_FORBIDDEN;
}
} else {
return PL_FORBIDDEN;