X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fauth.php;h=4b218543ec9fef8998032552344198effd97f611;hb=46f272feb613c57febf40a0f7bf6a721e439b73b;hp=ca07e3229fd1ebeb617eabb3285b211c33ed4e4e;hpb=08fa70684fd1332178cddb6b318151335fb4506c;p=platal.git diff --git a/modules/auth.php b/modules/auth.php index ca07e32..4b21854 100644 --- a/modules/auth.php +++ b/modules/auth.php @@ -153,9 +153,9 @@ class AuthModule extends PLModule $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 */ @@ -174,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);