summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6fd0e9f)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
}
$val = call_user_func_array($hook['hook'], $args);
}
$val = call_user_func_array($hook['hook'], $args);
- if ($val & PL_DO_AUTH) {
+ if ($val == PL_DO_AUTH) {
// The handler need a better auth with the current args
if (!call_user_func(array($globals->session, 'doAuth'))) {
$this->force_login($page);
// The handler need a better auth with the current args
if (!call_user_func(array($globals->session, 'doAuth'))) {
$this->force_login($page);