<?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>Successful password change leads to infinite loading of site</title> 
  <pubDate>Fri, 10 Apr 2026 18:27:17 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/10433</link> 
  <atom:link rel="self" type="application/rss+xml" title="Successful password change leads to infinite loading of site" href="https://bugs.horde.org/ticket/10433/rss" /> 
  <description>Successful password change leads to infinite loading of site</description> 
 
   
   
  <item> 
   <title>After successful password change any action in Horde makes t</title> 
   <description>After successful password change any action in Horde makes the browser infinitly try to load the page. Even logout results in this behavior. The same
with a page reload or manually entering the url.

Only after completly closing the browser and reopening it shows the
login screen again. Using the new password I can log in again.

No possibility to reset credentials in applications is provided by the Horde Framework (Enhancement #10228), so as a workaround passwd needs to log out the user at the moment.
</description> 
   <pubDate>Wed, 17 Aug 2011 09:08:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10433#t67003</link> 
  </item> 
   
  <item> 
   <title>&gt; After successful password change any action in Horde makes</title> 
   <description>&gt; After successful password change any action in Horde makes the 
&gt; browser infinitly try to load the page. Even logout results in this 
&gt; behavior. The same
&gt; with a page reload or manually entering the url.
&gt;
&gt; Only after completly closing the browser and reopening it shows the
&gt; login screen again. Using the new password I can log in again.
&gt;
&gt; No possibility to reset credentials in applications is provided by 
&gt; the Horde Framework (Enhancement #10228), so as a workaround passwd 
&gt; needs to log out the user at the moment.
&gt;

This doesn&#039;t happen for me with sql auth and ldap auth. Can you provide more Info?

Which passwd backend are you using? (passwd/config/backends.local.php) 
Which Driver is used for Horde_Auth? (horde/config/conf.php)

</description> 
   <pubDate>Wed, 17 Aug 2011 09:12:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10433#t67004</link> 
  </item> 
   
  <item> 
   <title>Request #10228.</title> 
   <description>Request #10228.</description> 
   <pubDate>Wed, 17 Aug 2011 09:23:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10433#t67005</link> 
  </item> 
   
  <item> 
   <title>I tried to solve this with the help of Jan on the horde mail</title> 
   <description>I tried to solve this with the help of Jan on the horde mailing list.

I just have no idea how to correctly submit this patch. The information on http://www.horde.org/development/git#createcommit is not verbose enough for a git newbe. I did my best and hope it is alright.

Please inform me what I can do better next time.</description> 
   <pubDate>Wed, 17 Aug 2011 09:28:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10433#t67006</link> 
  </item> 
   
  <item> 
   <title>This is no genuie duplicate since it provides a workaround u</title> 
   <description>This is no genuie duplicate since it provides a workaround until the &quot;duplicated&quot; bug is solved. If your policy sees this another way please merge the tickets if you like. 

Jan, your words on the horde mailing list on 27.07.2011 20:24 where:
&quot;Why don&#039;t you open a ticket and upload a patch? Thanks.&quot;

So I did.</description> 
   <pubDate>Wed, 17 Aug 2011 09:36:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10433#t67007</link> 
  </item> 
   
  <item> 
   <title>&gt; This is no genuie duplicate since it provides a workaround</title> 
   <description>&gt; This is no genuie duplicate since it provides a workaround until the 
&gt; &quot;duplicated&quot; bug is solved. If your policy sees this another way 
&gt; please merge the tickets if you like.
&gt;
&gt; Jan, your words on the horde mailing list on 27.07.2011 20:24 where:
&gt; &quot;Why don&#039;t you open a ticket and upload a patch? Thanks.&quot;
&gt;
&gt; So I did.
Hi kareem,
Not to offend you in any way but the diff file is empty.
You should have mentioned it is about imp application auth. Other backends are working without problems so unconditional logout is no good option for these cases.

What passwd backend is used here?</description> 
   <pubDate>Wed, 17 Aug 2011 09:57:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10433#t67009</link> 
  </item> 
   
  <item> 
   <title>&gt; Not to offend you in any way but the diff file is empty.
</title> 
   <description>&gt; Not to offend you in any way but the diff file is empty.
Whatever happened to the file I do not know, but I will try another upload.

&gt; You should have mentioned it is about imp application auth. Other 
&gt; backends are working without problems so unconditional logout is no 
&gt; good option for these cases.
Ehm, no. It is about Horde auth using IMAP driver. I am not using imp directly as authenticator,  although Horde may do that internally, which I do not know.

My config regarding this is:

horde4/config/conf.php:
...
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;hostspec&#039;] = &#039;mail.hostname.de&#039;;
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;port&#039;] = 143;
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;secure&#039;] = &#039;tls&#039;;
$conf[&#039;auth&#039;][&#039;driver&#039;] = &#039;imap&#039;;
...

horde4/imp/config/backends.php:
...
$servers[&#039;imap&#039;] = array(
    &#039;disabled&#039; =&gt; false,
    &#039;name&#039; =&gt; &#039;IMAP Server&#039;,
    &#039;hostspec&#039; =&gt; &#039;mail.hostname.de&#039;,
    &#039;hordeauth&#039; =&gt; false,
    &#039;protocol&#039; =&gt; &#039;imap&#039;,
    &#039;port&#039; =&gt; 143,
    &#039;secure&#039; =&gt; &#039;tls&#039;,
    &#039;maildomain&#039; =&gt; &#039;&#039;,
    &#039;cache&#039; =&gt; false,
);

&gt;
&gt; What passwd backend is used here?
MySQL. I write to the same DB the IMAP-Server uses as authentication database. I have tried authenticating against the DB directly but regarding this problem there is no change in behaviour.
</description> 
   <pubDate>Wed, 17 Aug 2011 11:59:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10433#t67010</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Not to offend you in any way but the diff file is empty.</title> 
   <description>&gt;&gt; Not to offend you in any way but the diff file is empty.
&gt; Whatever happened to the file I do not know, but I will try another upload.
And again the file is empty after upload. Something is wrong here. I will try uploading a zipped version.</description> 
   <pubDate>Wed, 17 Aug 2011 12:02:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10433#t67011</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; Not to offend you in any way but the diff file is empty.</title> 
   <description>&gt;&gt;&gt; Not to offend you in any way but the diff file is empty.
&gt;&gt; Whatever happened to the file I do not know, but I will try another upload.
&gt; And again the file is empty after upload. Something is wrong here. I 
&gt; will try uploading a zipped version.
And again. A zero byte file. This makes no sense.
I will copy and paste the contents of the diff-file.

---------------------------- passwd/lib/Passwd.php ----------------------------
index 05612a8..71e612f 100644
@@ -105,6 +105,13 @@ class Passwd {
     {
         if ($GLOBALS[&#039;registry&#039;]-&gt;getAuthCredential(&#039;password&#039;) == $old_password) {
             $GLOBALS[&#039;registry&#039;]-&gt;setAuthCredential(&#039;password&#039;, $new_password);
+			
+			// Generate an authenticateFailure to force a logout after successful password change.
+			// This is a workaround until Horde Framework supports propagation of credential changes to applications
+			$GLOBALS[&#039;registry&#039;]-&gt;authenticateFailure(&#039;horde&#039; ,
+			new Horde_Auth_Exception(
+				&#039;Ihr Passwort wurde erfolgreich geändert. Bitte melden Sie sich neu an.&#039;,
+				Horde_Registry::PERMISSION_DENIED) );
         }
     }
</description> 
   <pubDate>Wed, 17 Aug 2011 12:04:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10433#t67012</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
