diff --git a/app/Http/Requests/Admin/UserUpdate.php b/app/Http/Requests/Admin/UserUpdate.php index fd97f4f7..9af7b945 100644 --- a/app/Http/Requests/Admin/UserUpdate.php +++ b/app/Http/Requests/Admin/UserUpdate.php @@ -15,7 +15,7 @@ class UserUpdate extends FormRequest { return [ 'email' => 'required|email', - 'password' => 'nullable', + 'password' => 'nullable|min:8', 'transfer_enable' => 'numeric', 'expired_at' => 'nullable|integer', 'banned' => 'required|in:0,1',