Callback must not have checkperms set or else we run into issues with
looping of LoginTasks. For sanity, do the check inside the auth callback
itself.
),
'authAuthenticateCallback' => array(
- 'args' => array()
+ 'args' => array(),
+ 'checkperms' => false
),
'authTransparent' => array(
*/
function _imp_authAuthenticateCallback()
{
- require_once dirname(__FILE__) . '/base.php';
- IMP_Auth::authenticateCallback();
+ if (Horde_Auth::getAuth()) {
+ require_once dirname(__FILE__) . '/base.php';
+ IMP_Auth::authenticateCallback();
+ }
}
/**