Code

Updated last commit, wrtie back cache, else we can't use it.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Jul 2009 12:52:04 +0000 (12:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Jul 2009 12:52:04 +0000 (12:52 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13903 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_config.inc

index 67b91314c67ac8eff7aa184b79e28ccbfb0c43d5..abebcb0ada92a95193256e0c1b185c5fc66260d1 100644 (file)
@@ -244,7 +244,8 @@ class config  {
       $cache = session::global_get('HTTP_GOSA_KEY_CACHE');
       if(!isset($cache[$creds])){
         $cache[$creds] = cred_decrypt($creds, $_SERVER['HTTP_GOSA_KEY']);
-      } 
+        session::global_set('HTTP_GOSA_KEY_CACHE',$cache);
+      }
       return ($cache[$creds]);
     }
     return ($creds);