X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fopenid.php;h=826c78cc72c95b313dcf4e0447d79cfd5de550be;hb=2ec25d62c74e5589620b2a2c89d5dbb041147d55;hp=fa4c1d5e7632cd8f90b1e6a630e1093246ceb577;hpb=d89a495539357b3ad30f7b891bd23d1805355a52;p=platal.git diff --git a/modules/openid.php b/modules/openid.php index fa4c1d5..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, 'user'), - 'openid/trusted' => $this->make_hook('trusted', AUTH_MDP, 'user'), - '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'), ); }