X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fauth.php;h=4b218543ec9fef8998032552344198effd97f611;hb=46f272feb613c57febf40a0f7bf6a721e439b73b;hp=e4c8b899ef4c943b61524a0fa218ba3eb69138eb;hpb=787bb3d745141f2f85bd947ad7dd775d2c63f908;p=platal.git diff --git a/modules/auth.php b/modules/auth.php index e4c8b89..4b21854 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,11 +150,12 @@ 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); + ? $_SESSION['log'] : new PlLogger($uid); global $platal; - $logger->log('connexion_auth_ext', $platal->path); + S::logger()->log('connexion_auth_ext', $platal->path); } /* on parcourt les entrees de groupes_auth */ @@ -173,7 +174,7 @@ class AuthModule extends PLModule function handler_admin_authgroupesx(&$page, $action = 'list', $id = null) { - $page->assign('xorg_title','Polytechnique.org - Administration - Auth groupes X'); + $page->setTitle('Administration - Auth groupes X'); $page->assign('title', 'Gestion de l\'authentification centralisée'); $table_editor = new PLTableEditor('admin/auth-groupes-x','groupesx_auth','id'); $table_editor->describe('name','nom',true);