From e46cf31182425225f8bf0b0e69a8603000630e9a Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Mon, 25 Oct 2010 03:16:44 +0000 Subject: [PATCH] - don't filter theme. --- module/user/model.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/user/model.php b/module/user/model.php index aa83a84e27..36336980d4 100644 --- a/module/user/model.php +++ b/module/user/model.php @@ -162,8 +162,6 @@ class userModel extends model */ public function identify($account, $password) { - $account = filter_var($account, FILTER_SANITIZE_STRING); - $password = filter_var($password, FILTER_SANITIZE_STRING); if(!$account or !$password) return false; $user = $this->dao->select('*')->from(TABLE_USER)