update: admin user update

This commit is contained in:
tokumeikoi 2021-03-02 21:12:32 +09:00
parent ab9c6c85bb
commit 550f0fee37

View File

@ -15,7 +15,7 @@ class UserUpdate extends FormRequest
{ {
return [ return [
'email' => 'required|email', 'email' => 'required|email',
'password' => 'nullable', 'password' => 'nullable|min:8',
'transfer_enable' => 'numeric', 'transfer_enable' => 'numeric',
'expired_at' => 'nullable|integer', 'expired_at' => 'nullable|integer',
'banned' => 'required|in:0,1', 'banned' => 'required|in:0,1',