X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fgeoloc.php;h=fafbe4940090d33bad75a23e0e1418e6d8a9fc45;hb=9a2876cbd2421b83fa1816fc8fa0100589720495;hp=340dfd45bbb0d0a8e0de7e844ac21e0d04ca878a;hpb=6bcd8813ff19f68bff738861ce274aff6ddba8a0;p=platal.git diff --git a/modules/geoloc.php b/modules/geoloc.php index 340dfd4..fafbe49 100644 --- a/modules/geoloc.php +++ b/modules/geoloc.php @@ -24,8 +24,8 @@ class GeolocModule extends PLModule function handlers() { return array( - 'map' => $this->make_hook('map', AUTH_COOKIE), - 'map_url' => $this->make_hook('map_url', AUTH_COOKIE) + 'map' => $this->make_hook('map', AUTH_COOKIE, 'user'), + 'map_url' => $this->make_hook('map_url', AUTH_COOKIE, 'user') ); }