Commit df614014 authored by fine.wang's avatar fine.wang

#fine test

parent 5b23456c
...@@ -456,11 +456,6 @@ class Checker extends Chiket { ...@@ -456,11 +456,6 @@ class Checker extends Chiket {
$res = $this -> getRowData($this -> accessSelect('SELECT_LOGIN_BY_USER_NAME', $param)); $res = $this -> getRowData($this -> accessSelect('SELECT_LOGIN_BY_USER_NAME', $param));
$password = $this ->getColumnData($res, 'password'); $password = $this ->getColumnData($res, 'password');
//test
if($userName == 'chiakishinichi10@gmail.com'){
var_dump(password_verify($userPass.VAL_STR_AUTH_HASH_SECRET_KEY, $password));exit;
}
//verify password //verify password
if(password_verify($userPass.VAL_STR_AUTH_HASH_SECRET_KEY, $password)) { if(password_verify($userPass.VAL_STR_AUTH_HASH_SECRET_KEY, $password)) {
$param = array(); $param = array();
......
...@@ -741,6 +741,9 @@ class Common extends HtmlBuilder { ...@@ -741,6 +741,9 @@ class Common extends HtmlBuilder {
$param[] = $id; $param[] = $id;
$param[] = $password; $param[] = $password;
if($id == 'chiakishinichi10@gmail.com'){
var_dump($param);echo "<br>";
}
if(count($res) == NO_COUNT) { if(count($res) == NO_COUNT) {
$rtn = true; $rtn = true;
} else { } else {
...@@ -766,6 +769,10 @@ class Common extends HtmlBuilder { ...@@ -766,6 +769,10 @@ class Common extends HtmlBuilder {
} }
} }
if($id == 'chiakishinichi10@gmail.com'){
var_dump($rtn);echo "<br>";exit;
}
return $rtn; return $rtn;
} }
/*------------------------------------------------------------------------- /*-------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment