[pLog-svn] r7023 - plog/branches/lifetype-1.2/class/action/admin
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Sat Aug 21 08:31:33 EDT 2010
Author: jondaley
Date: 2010-08-21 08:31:33 -0400 (Sat, 21 Aug 2010)
New Revision: 7023
Modified:
plog/branches/lifetype-1.2/class/action/admin/admindefaultaction.class.php
Log:
in response to checkin comment in revision 7013, the default action is used when visiting admin.php without an op. We shouldn't be triggering a login action in that instance, but only when we actually login. This fixes a problem in the CSRF plugin that was changing the CSRF token whenever you visited admin.php without an op, even though you weren't logging in
Modified: plog/branches/lifetype-1.2/class/action/admin/admindefaultaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/admin/admindefaultaction.class.php 2010-08-21 12:19:35 UTC (rev 7022)
+++ plog/branches/lifetype-1.2/class/action/admin/admindefaultaction.class.php 2010-08-21 12:31:33 UTC (rev 7023)
@@ -59,7 +59,6 @@
$pm =& PluginManager::getPluginManager();
$pm->setBlogInfo( $this->_blogInfo );
$pm->setUserInfo( $this->_userInfo );
- $pm->notifyEvent( EVENT_LOGIN_SUCCESS );
}
else {
$this->_view = new AdminDefaultView();
More information about the pLog-svn
mailing list