X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fopenid.php;h=826c78cc72c95b313dcf4e0447d79cfd5de550be;hb=821198c7f5394839f6421c54a32ae2a0dca19b3d;hp=49b08c19b4e90269cb1de7699c0a192b6a57e15b;hpb=47f517897206a0b953214f19b96a42f2707fc107;p=platal.git diff --git a/modules/openid.php b/modules/openid.php index 49b08c1..826c78c 100644 --- a/modules/openid.php +++ b/modules/openid.php @@ -64,9 +64,9 @@ class OpenidModule extends PLModule 'openid' => $this->make_hook('openid', AUTH_PUBLIC), 'openid/melix' => $this->make_hook('melix', AUTH_PUBLIC), 'openid/xrds' => $this->make_hook('xrds', AUTH_PUBLIC), - 'openid/trust' => $this->make_hook('trust', AUTH_MDP), - 'openid/trusted' => $this->make_hook('trusted', AUTH_MDP), - 'admin/openid/trusted' => $this->make_hook('admin_trusted', AUTH_MDP, 'admin'), + 'openid/trust' => $this->make_hook('trust', AUTH_PASSWD, 'user'), + 'openid/trusted' => $this->make_hook('trusted', AUTH_PASSWD, 'user'), + 'admin/openid/trusted' => $this->make_hook('admin_trusted', AUTH_PASSWD, 'admin'), ); }