<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>preauthentication Hook not working</title> 
  <pubDate>Sun, 05 Apr 2026 13:33:21 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9747</link> 
  <atom:link rel="self" type="application/rss+xml" title="preauthentication Hook not working" href="https://bugs.horde.org/ticket/9747/rss" /> 
  <description>preauthentication Hook not working</description> 
 
   
   
  <item> 
   <title>I found a bug in the class Horde_Core_Auth_Application -&gt; fu</title> 
   <description>I found a bug in the class Horde_Core_Auth_Application -&gt; function runHook which causes a problem with the preauthentication Hook.

The call of Horde::callHook in the runHook function results in an array with integer indexes not with string indexes like userID or credentials.

With the current Git Code the preauth hook results will never be used. 

See patch...

File: Horde/Core/Auth/Application.php</description> 
   <pubDate>Wed, 30 Mar 2011 11:08:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9747#t62846</link> 
  </item> 
   
  <item> 
   <title>Please read the documentation in horde/config/hooks.php.dist</title> 
   <description>Please read the documentation in horde/config/hooks.php.dist.  Specifically the following:

 *   (array) - Replace the credentials with the given key/values. Keys are
 *             &#039;userId&#039; and &#039;credentials&#039;. Only the keys defined will be
 *             altered.</description> 
   <pubDate>Wed, 30 Mar 2011 18:29:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9747#t62875</link> 
  </item> 
   
  <item> 
   <title>OK but then the Example #4 for the preauthentication hook ha</title> 
   <description>OK but then the Example #4 for the preauthentication hook has a wrong return array!

&gt; Please read the documentation in horde/config/hooks.php.dist.  
&gt; Specifically the following:
&gt;
&gt;  *   (array) - Replace the credentials with the given key/values. Keys are
&gt;  *             &#039;userId&#039; and &#039;credentials&#039;. Only the keys defined will be
&gt;  *             altered.
</description> 
   <pubDate>Wed, 30 Mar 2011 20:50:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9747#t62878</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #9747: F</title> 
   <description>Changes have been made in Git for this ticket:

Bug #9747: Fix preauthenticate example

 1 files changed, 29 insertions(+), 22 deletions(-)
http://git.horde.org/horde-git/-/commit/a76c4c6d12f40951d790106d30de7117a1f224d2</description> 
   <pubDate>Thu, 31 Mar 2011 07:02:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9747#t62882</link> 
  </item> 
   
  <item> 
   <title>Not sure where that example came from, but it has been fixed</title> 
   <description>Not sure where that example came from, but it has been fixed.</description> 
   <pubDate>Thu, 31 Mar 2011 07:02:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9747#t62883</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
