onokazu
onoka****@users*****
2006年 5月 1日 (月) 11:37:30 JST
Index: xoops2jp/html/modules/system/admin/users/main.php diff -u xoops2jp/html/modules/system/admin/users/main.php:1.6 xoops2jp/html/modules/system/admin/users/main.php:1.7 --- xoops2jp/html/modules/system/admin/users/main.php:1.6 Mon Sep 5 05:46:11 2005 +++ xoops2jp/html/modules/system/admin/users/main.php Mon May 1 11:37:30 2006 @@ -1,5 +1,5 @@ <?php -// $Id: main.php,v 1.6 2005/09/04 20:46:11 onokazu Exp $ +// $Id: main.php,v 1.7 2006/05/01 02:37:30 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -99,7 +99,7 @@ xoops_cp_footer(); exit(); } - $edituser->setVar("pass", md5($_POST['pass'])); + $edituser->setVar("pass", md5($myts->stripSlashesGPC(trim($_POST['pass'])))); } if (!$member_handler->insertUser($edituser)) { xoops_cp_header(); @@ -264,7 +264,7 @@ xoops_cp_footer(); exit(); } - $newuser->setVar("pass", md5($_POST['pass'])); + $newuser->setVar("pass", md5($myts->stripSlashesGPC(trim($_POST['pass'])))); } $newuser->setVar("timezone_offset", $_POST['timezone_offset']); $newuser->setVar("uorder", $_POST['uorder']);