Minahito
minah****@users*****
2006年 10月 15日 (日) 15:09:48 JST
Index: xoops2jp/html/modules/user/actions/LostPassAction.class.php diff -u xoops2jp/html/modules/user/actions/LostPassAction.class.php:1.1.2.8 xoops2jp/html/modules/user/actions/LostPassAction.class.php:1.1.2.8.2.1 --- xoops2jp/html/modules/user/actions/LostPassAction.class.php:1.1.2.8 Mon Sep 25 08:10:16 2006 +++ xoops2jp/html/modules/user/actions/LostPassAction.class.php Sun Oct 15 15:09:47 2006 @@ -1,7 +1,7 @@ <?php /** * @package user - * @version $Id: LostPassAction.class.php,v 1.1.2.8 2006/09/24 23:10:16 minahito Exp $ + * @version $Id: LostPassAction.class.php,v 1.1.2.8.2.1 2006/10/15 06:09:47 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -38,7 +38,7 @@ */ function hasPermission(&$controller, &$xoopsUser, $moduleConfig) { - return !is_object($xoopsUser); + return !$controller->mRoot->mContext->mUser->mIdentity->isAuthenticated(); } function getDefaultView(&$controller, &$xoopsUser)