[xoops-cvslog 2690] CVS update: xoops2jp/html/modules/system/admin/users

Back to archive index

onokazu onoka****@users*****
2006年 4月 9日 (日) 03:32:51 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.6.4.1
--- 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	Sun Apr  9 03:32:51 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.6.4.1 2006/04/08 18:32:51 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']);


xoops-cvslog メーリングリストの案内
Back to archive index