Browse Source

Update LoginController

Daniel Supernault 6 years ago
parent
commit
89bd8f9653
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Auth/LoginController.php

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

@@ -50,7 +50,7 @@ class LoginController extends Controller
     {
         $rules = [
             $this->username() => 'required|email',
-            'password'        => 'required|string',
+            'password'        => 'required|string|min:6',
         ];
 
         if (config('pixelfed.recaptcha')) {