|
From: <gem...@li...> - 2011-12-02 11:32:39
|
Revision: 330
http://gemstracker.svn.sourceforge.net/gemstracker/?rev=330&view=rev
Author: michieltcs
Date: 2011-12-02 11:32:33 +0000 (Fri, 02 Dec 2011)
Log Message:
-----------
Special case for session expiration in the auto filter
Modified Paths:
--------------
branches/1.5.0-pulse/library/classes/GemsEscort.php
Modified: branches/1.5.0-pulse/library/classes/GemsEscort.php
===================================================================
--- branches/1.5.0-pulse/library/classes/GemsEscort.php 2011-12-01 16:51:32 UTC (rev 329)
+++ branches/1.5.0-pulse/library/classes/GemsEscort.php 2011-12-02 11:32:33 UTC (rev 330)
@@ -1512,6 +1512,9 @@
);
} else { // No longer logged in
+ if ($request->getActionName() == 'autofilter') {
+ throw new Gems_Exception("Session expired", 401);
+ }
if ($menuItem = $this->menu->findFirst(array('allowed' => true, 'visible' => true))) {
$this->addMessage($this->_('You are no longer logged in.'));
$this->addMessage($this->_('You must login to access this page.'));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|