Silent 6 年之前
父節點
當前提交
7f157dc68a
共有 1 個文件被更改,包括 3 次插入1 次删除
  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()