原密码不正确
This commit is contained in:
parent
0c0fb9ec62
commit
76d6be6beb
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user