From 550f0fee37a46afdad406d21fba3b7c59dedd60f Mon Sep 17 00:00:00 2001 From: tokumeikoi Date: Tue, 2 Mar 2021 21:12:32 +0900 Subject: [PATCH] update: admin user update --- app/Http/Requests/Admin/UserUpdate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',