Fix error while updating user
This commit is contained in:
parent
f0e3f0e474
commit
8fb21a5048
3 changed files with 8 additions and 27 deletions
|
@ -164,7 +164,7 @@ class User extends Model implements
|
|||
'name_last' => 'required|string|between:1,255',
|
||||
'password' => 'sometimes|nullable|string',
|
||||
'root_admin' => 'boolean',
|
||||
'language' => 'required|string',
|
||||
'language' => 'string',
|
||||
'use_totp' => 'boolean',
|
||||
'totp_secret' => 'nullable|string',
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue