Hotfix for issue that prevents form submissions due to sessions being cleared.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 15 Aug 2010 18:05:12 +0000 (14:05 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 15 Aug 2010 18:05:12 +0000 (14:05 -0400)
commitac22a6e2d2a9797eb4b378882194af1025b03d00
tree4bc6e92411ce6e25e425b0b20c818f98a976a1dc
parent71a637d8c66ac8829c0e717e2babbcbae4baa4a5
Hotfix for issue that prevents form submissions due to sessions being cleared.

If submitting a form as guest, the secret tokens and captchas etc... are cleared from the session
during the check for transparent authentication.  Assume that if this form is submitted, the user
was already authenticated (or did not require authentication).

As mentioned, this is a hotfix meant to get bugs.horde.org working again for guests.
There is probably a more appropriate way to fix this, but I cannot think of any other fixes that do not
open up other security holes.
framework/Core/lib/Horde/Registry.php
whups/ticket/comment.php