mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update: admin user update
This commit is contained in:
parent
ab9c6c85bb
commit
550f0fee37
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user