X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman%2FLogin.php;h=7df3242408139d8254924d236790e6edfd826899;hb=7e6830888964a6c3c23799515c535b6669ed6bc1;hp=3936446383767ae84b2f5cf7165a27b9c712d0dd;hpb=5b437e230324f63d6071069ac7ca634655155bf7;p=Pman.Base diff --git a/Pman/Login.php b/Pman/Login.php index 3936446..7df3242 100644 --- a/Pman/Login.php +++ b/Pman/Login.php @@ -133,7 +133,7 @@ class Pman_Login extends Pman if (!$u->isAuth()) { $this->jok(array( 'id' => 0, - 'disable_oath' => bool() $s->lookup('core', 'two_factor_authentication') ? 0 : 1 + 'disable_oath' => (bool) $s->lookup('core', 'two_factor_authentication') ? 0 : 1 )); // not logged in.. exit; }