includes/sessions.php
changeset 1071 f374801eb775
parent 1069 d54e7620bd3e
child 1079 fcc42560afe6
--- a/includes/sessions.php	Mon Aug 03 02:56:03 2009 -0400
+++ b/includes/sessions.php	Mon Aug 03 02:58:43 2009 -0400
@@ -1397,7 +1397,7 @@
     global $db, $session, $paths, $template, $plugins; // Common objects
     $ou = $this->username;
     $oid = $this->user_id;
-    if($level > USER_LEVEL_CHPREF)
+    if($level > USER_LEVEL_MEMBER)
     {
       $aes = AESCrypt::singleton(AES_BITS, AES_BLOCKSIZE);
       if(!$this->user_logged_in || $this->auth_level < ( USER_LEVEL_MEMBER + 1))
@@ -1416,7 +1416,7 @@
       {
         $aes = AESCrypt::singleton(AES_BITS, AES_BLOCKSIZE);
         // Completely destroy our session
-        if($this->auth_level > USER_LEVEL_CHPREF)
+        if($this->auth_level > USER_LEVEL_MEMBER)
         {
           $this->logout(USER_LEVEL_ADMIN);
         }