backport : page profile/private accessible en cookie et non en mot de passe
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 14 Oct 2006 06:51:41 +0000 (06:51 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 14 Oct 2006 06:51:41 +0000 (06:51 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@977 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/profile.php

index d710722..aa518a0 100644 (file)
@@ -29,7 +29,7 @@ class ProfileModule extends PLModule
 
             'fiche.php'        => $this->make_hook('fiche',      AUTH_PUBLIC),
             'profile'          => $this->make_hook('profile',    AUTH_PUBLIC),
-            'profile/private'  => $this->make_hook('profile',    AUTH_MDP),
+            'profile/private'  => $this->make_hook('profile',    AUTH_COOKIE),
             'profile/edit'     => $this->make_hook('p_edit',     AUTH_MDP),
             'profile/orange'   => $this->make_hook('p_orange',   AUTH_MDP),
             'profile/usage'    => $this->make_hook('p_usage',    AUTH_MDP),