[modx-ja] r622 committed - [#445] ユーザ名に「 . 」と「@」を使えるようにする

1 view
Skip to first unread message

mod...@googlecode.com

unread,
Aug 15, 2010, 7:48:08 PM8/15/10
to mod...@googlegroups.com
Revision: 622
Author: yama.kyms
Date: Sun Aug 15 16:47:03 2010
Log: [#445] ユーザ名に「 . 」と「@」を使えるようにする
http://code.google.com/p/modx-ja/source/detail?r=622

Modified:
/trunk/manager/includes/accesscontrol.inc.php

=======================================
--- /trunk/manager/includes/accesscontrol.inc.php Sun Jul 18 03:13:55 2010
+++ /trunk/manager/includes/accesscontrol.inc.php Sun Aug 15 16:47:03 2010
@@ -95,7 +95,7 @@
}

// login info
- $uid = isset($_COOKIE['modx_remember_manager']) ?
preg_replace('/[^a-zA-Z0-9\-_]*/', '',
$_COOKIE['modx_remember_manager']) :'';
+ $uid = isset($_COOKIE['modx_remember_manager']) ?
preg_replace('/[^a-zA-Z0-9\-_@\.]*/', '',
$_COOKIE['modx_remember_manager']) :'';
$modx->setPlaceholder('uid',$uid);
$modx->setPlaceholder('username',$_lang["username"]);
$modx->setPlaceholder('password',$_lang["password"]);

Reply all
Reply to author
Forward
0 new messages