X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fauth.php;h=ca07e3229fd1ebeb617eabb3285b211c33ed4e4e;hb=61e0e8619a9e391d9536d1af3c8cd441491bbc99;hp=37812910c44198a881d89f3020a444878e8dd62a;hpb=206e75c35f721f74c7d412d763e4c7ec8a620a5a;p=platal.git diff --git a/modules/auth.php b/modules/auth.php index 3781291..ca07e32 100644 --- a/modules/auth.php +++ b/modules/auth.php @@ -1,6 +1,6 @@ $this->make_hook('chall', AUTH_PUBLIC), 'groupex/export-econfiance.php' - => $this->make_hook('econf', AUTH_PUBLIC), + => $this->make_hook('econf', AUTH_PUBLIC, 'user', NO_HTTPS), 'webservices/manageurs.php' - => $this->make_hook('manageurs', AUTH_PUBLIC), + => $this->make_hook('manageurs', AUTH_PUBLIC, 'user', NO_HTTPS), 'auth-redirect.php' => $this->make_hook('redirect', AUTH_COOKIE), 'auth-groupex.php' => $this->make_hook('groupex_old', AUTH_COOKIE), @@ -150,6 +150,7 @@ class AuthModule extends PLModule $gpex_challenge = $_GET["challenge"]; // mise à jour de l'heure et de la machine de dernier login sauf quand on est en suid + $uid = S::i('uid'); if (!isset($_SESSION['suid'])) { $logger = (isset($_SESSION['log']) && $_SESSION['log']->uid == $uid) ? $_SESSION['log'] : new CoreLogger($uid); @@ -180,7 +181,7 @@ class AuthModule extends PLModule $table_editor->describe('privkey','clé privée',false); $table_editor->describe('datafields','champs renvoyés',true); $table_editor->apply($page, $action, $id); - } + } } // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: