Update password validation rule to include string and min length

pull/7087/head
Shlee 2 weeks ago committed by GitHub
parent a1c5bf0626
commit c2a568a5cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -142,7 +142,7 @@ class AdminInviteController extends Controller
}
},
],
'password' => 'required',
'password' => 'required|string|min:'.config('pixelfed.min_password_length'),
'password_confirm' => 'required',
]);

Loading…
Cancel
Save