X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fauth.php;h=8f2f9b354c93f2312776e12d56c9b4144151b48b;hb=cab0809050d58f8484608e91f7555ebd69dcb451;hp=cda2bdcf46dd4a83ada711e288b6b0e2d91bc5c1;hpb=68a269916d88ab4f635de4c96367af1ad82ff135;p=platal.git diff --git a/modules/auth.php b/modules/auth.php index cda2bdc..8f2f9b3 100644 --- a/modules/auth.php +++ b/modules/auth.php @@ -53,7 +53,7 @@ class AuthModule extends PLModule $cle = $globals->core->econfiance; - if (Session::get('chall') && $_GET['PASS'] == md5(Session::get('chall').$cle)) { + if (S::v('chall') && $_GET['PASS'] == md5(S::v('chall').$cle)) { $res = XDB::query("SELECT password FROM auth_user_md5 WHERE user_id=10154"); $pass = $res->fetchOneCell();