6
0
Fork 0
release
李静 2021-12-13 17:02:21 +08:00
parent 824e97587d
commit af83424a01
1 changed files with 0 additions and 1 deletions

View File

@ -18,7 +18,6 @@ class LoginController extends Controller
*/
public function __invoke(LoginRequest $request)
{
throw new BizException(__('Incorrect account or password'));
$user = User::where('phone', $request->input('phone'))->first();
if (! $user?->verifyPassword($request->input('password'))) {