[Tickets #10433] Re: Successful password change leads to infinite loading of site

bugs at horde.org bugs at horde.org
Wed Aug 17 12:04:58 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10433
------------------------------------------------------------------------------
  Ticket             | 10433
  Updated By         | stephan at admin.nabira.de
  Summary            | Successful password change leads to infinite loading
                     | of site
  Queue              | Passwd
  Version            | Git master
  Type               | Bug
  State              | Duplicate
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


stephan at admin.nabira.de (2011-08-17 12:04) wrote:

>>> 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.
> And again the file is empty after upload. Something is wrong here. I  
> 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['registry']->getAuthCredential('password') ==  
$old_password) {
              $GLOBALS['registry']->setAuthCredential('password',  
$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['registry']->authenticateFailure('horde' ,
+			new Horde_Auth_Exception(
+				'Ihr Passwort wurde erfolgreich geändert. Bitte melden Sie sich neu an.',
+				Horde_Registry::PERMISSION_DENIED) );
          }
      }







More information about the bugs mailing list