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

#fine test

parent 5b23456c
......@@ -456,11 +456,6 @@ class Checker extends Chiket {
$res = $this -> getRowData($this -> accessSelect('SELECT_LOGIN_BY_USER_NAME', $param));
$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
if(password_verify($userPass.VAL_STR_AUTH_HASH_SECRET_KEY, $password)) {
$param = array();
......
......@@ -741,6 +741,9 @@ class Common extends HtmlBuilder {
$param[] = $id;
$param[] = $password;
if($id == 'chiakishinichi10@gmail.com'){
var_dump($param);echo "<br>";
}
if(count($res) == NO_COUNT) {
$rtn = true;
} else {
......@@ -766,6 +769,10 @@ class Common extends HtmlBuilder {
}
}
if($id == 'chiakishinichi10@gmail.com'){
var_dump($rtn);echo "<br>";exit;
}
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