X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fcarnet.php;h=5ac29ba2034888e4999572931e01d9558569a52e;hb=67e06366aa6d020c4e1ed3bfcb36cb877eae1829;hp=3080c917a2216a8893e33e7b26b2c0b0dcfb8b9e;hpb=25fe4c85de79aa601948d788b5754b5b6070080d;p=platal.git diff --git a/modules/carnet.php b/modules/carnet.php index 3080c91..5ac29ba 100644 --- a/modules/carnet.php +++ b/modules/carnet.php @@ -29,9 +29,9 @@ class CarnetModule extends PLModule 'carnet/notifs' => $this->make_hook('notifs', AUTH_COOKIE), 'carnet/contacts' => $this->make_hook('contacts', AUTH_COOKIE), - 'carnet/contacts/pdf' => $this->make_hook('pdf', AUTH_COOKIE, 'user', NO_HTTPS), + 'carnet/contacts/pdf' => $this->make_hook('pdf', AUTH_COOKIE), + 'carnet/contacts/vcard' => $this->make_hook('vcard', AUTH_COOKIE), 'carnet/contacts/ical' => $this->make_hook('ical', AUTH_PUBLIC, 'user', NO_HTTPS), - 'carnet/contacts/vcard' => $this->make_hook('vcard', AUTH_COOKIE, 'user', NO_HTTPS), 'carnet/rss' => $this->make_hook('rss', AUTH_PUBLIC, 'user', NO_HTTPS), );