Silent 6 years ago
parent
commit
7f157dc68a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/Http/Controllers/Teacher/Auth/LoginController.php

+ 3 - 1
app/Http/Controllers/Teacher/Auth/LoginController.php

xqd
@@ -85,7 +85,9 @@ class LoginController extends Controller
         // user surpasses their maximum number of attempts they will get locked out.
         $this->incrementLoginAttempts($request);
 
-        return $this->sendFailedLoginResponse($request);
+        return $this->showWarning('密码或者手机错误', ['url' => '/teacher/login']);
+
+//        return $this->sendFailedLoginResponse($request);
     }
 
     public function logout()