remote auth redirect loop
Posted: Fri Jul 29, 2011 10:22 pm
Hi,
My apologies if this has already been fixed, but I didn't see anything about it in the changelogs. In 1.24.2 (from Ubuntu), ZM will hang on the "Logging in" page if configured to use remote authentication. The following patch seems to fix it:
Ben Wilber
My apologies if this has already been fixed, but I didn't see anything about it in the changelogs. In 1.24.2 (from Ubuntu), ZM will hang on the "Logging in" page if configured to use remote authentication. The following patch seems to fix it:
Code: Select all
--- /usr/share/zoneminder/index.php 2010-04-12 11:31:16.000000000 -0400
+++ index.php 2010-02-25 14:44:47.000000000 -0500
@@ -101,8 +101,6 @@
if ( isset($_REQUEST['action']) )
$action = validHtmlStr($_REQUEST['action']);
-require_once( 'includes/actions.php' );
-
foreach ( getSkinIncludes( 'skin.php' ) as $includeFile )
require_once $includeFile;
@@ -134,4 +132,7 @@
require_once $includeFile;
}
}
+
+require_once( 'includes/actions.php' );
+
?>