[dev] gollem auth fix

KaalH! kaalh at smol.org
Fri Mar 25 07:38:18 PST 2005


Index: lib/Gollem.php
===================================================================
RCS file: /repository/gollem/lib/Gollem.php,v
retrieving revision 1.152
diff -u -r1.152 Gollem.php
--- lib/Gollem.php      25 Mar 2005 05:00:32 -0000      1.152
+++ lib/Gollem.php      25 Mar 2005 15:36:43 -0000
@@ -787,8 +787,8 @@
      */
     function getAutologinID($backend)
     {
-        if 
(!empty($GLOBALS['gollem_backends']['backend_keys']['hordeauth']) &&
-            
(strcasecmp($GLOBALS['gollem_backends']['backend_keys']['hordeauth'], 
'full') === 0)) {
+        if (!empty($GLOBALS['gollem_backends'][$backend]['hordeauth']) &&
+            
(strcasecmp($GLOBALS['gollem_backends'][$backend]['hordeauth'], 'full') 
=== 0)) {
             return Auth::getAuth();
         } else {
             return Auth::getBareAuth();



More information about the dev mailing list