选择语言 :

 Core_Member::check_password

检查密码是否正确

null Core_Member::check_password( string $password )

参数列表

参数 类型 描述 默认值
$password string $password
File: ./core/classes/member.class.php
public function check_password($password)
{
    if ($this->_get_password_hash($password) == $this->password)
    {
        return true;
    }
    else
    {
        return false;
    }
}