原密码不正确

This commit is contained in:
邓皓元 2018-12-26 10:16:01 +08:00
parent 0c0fb9ec62
commit 76d6be6beb

View File

@ -16,7 +16,7 @@ class PasswordAuthenticate
$password = $request->get('password', '');
if ($account->password !== md5($password . $account->salt)) {
throw new NotAllowedException('密码不正确');
throw new NotAllowedException('密码不正确');
}
return $next($request);