Oops...
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 31 May 2008 16:27:50 +0000 (18:27 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 31 May 2008 16:27:50 +0000 (18:27 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
class.xorg.auth.php

index 34bff03..c47e404 100644 (file)
@@ -92,7 +92,7 @@ class xorgAuth extends dcAuth {
     global $core;
     $_COOKIE[DC_SESSION_NAME] = $_GET['PHPSESSID'];
     unset($_GET['PHPSESSID']);
-    if (session_id()) {
+    if (!session_id()) {
       $core->session->start();
     }
     foreach($this->xorg_infos as $key => $val) {